Hello,
i am using vb.net in which i have put the background image to every form.the image size is 1024X768.when i open the form it is taking too much time to open. and screen is fluctuate.so can you tell me how to remove this type of issue,
reply me soon
thanks
samir
Hi I want to know how to use the command close or would like some more info on
because if you use this method
Form2.Show
frmMain.close ()
the program is terminated and does not load the form2.
Then when I close the program appears the message "hello world"
vb6 enough to exploit the function Form_Unload, but in vb.net??
Thanks
i want to play multiple swf files in a single shockwaveflash object instance one after other as a playlist..
so how can i create a playlist for shockwaveobject...in vb.net
Hi all, I have created a basic chart in VB.NET (VS 2008) and it is working good, but I would like to label the axies of the chart. The method "AxisLabel" is not what I am looking for. I want to put the word "Dollars" vertically on the far left hand side of my chart (just left of the numbers labeling the "y" axis) and the word "Months" horizontally at the bottom of the chart but above the legend (just below the numbers labeling the "x" axis). Check the picture out...
I have learned quite a bit browsing through Hidden Features
of C# and was surprised when I couldn't find something
similar for VB.NET.
So what are some of its hidden or lesser known features?
i have a vb.net form with red background and white text on it now i want to change the opacity of only red background to 50% not actual text how can i do that
Hi,
I am looking for ways to implement custom user-roles in windows application with vb.net. I got a database table called Roles with Administrator and User entries. User cannot see some of the form data. In ASP.NET MVC we can do like.
[Authorize(Roles = "Administrator")]
public function GetAccount() as Array
End Function
If it could be done this way that would be great.
Thanks in advance.
In VB.net is there anyway to make a certain part of the string to have a different color to make it stand out?
This doesn't work but if I could something like this
string = ("How".ForeColor(red) & "are".FontColor(green))
Would it be possible to make anything similar to this in a ListBox?
If this is not possible is there a way to have it stand out more?
Hi,
Im getting a strange syntax error when I run this in VB
SQLString = "UPDATE Login SET Password = '" + PasswordTextBox.Text + "'"
SQLString += " WHERE UserName = '" + UserNameTextBox.Text + "'"
The Username is checked before getting to this part and is definitly in the db.
It gives an exception saying syntax error in update statement. Anyone have any ideas whats wrong?
i have some picture files that were included in a vb.net project
how do i reference those files in my code?
what it be just filename.ext
or would it be project/filename.ext
or would it be something like environment.getfolderpath.project/filename.ext??
the build action is NONE, and it is to be copied to output folder
Hi there,
i have a VB.NET program that handles the content of documents.
The programm handles high volumes of documents as "batch"(2Million documents;total 1TB volume)
Some of this documents may contain control chars or chars like f0e8(http://www.fileformat.info/info/unicode/char/f0e8/browsertest.htm).
Is there a easy and especially fast way to remove that chars?(except space,newline,tab,...)
If the answer is regex: Has anyone a complete regex for me?
Thanks!
i want to create a schedule for my windows media player instance in form in vb.net so that to arrange and play them according to time automatically how can i do that..
Hai guys,
I ve developed a salary calculating software using vb.net.... Its working fine and i ve converted it to an exe file... My drawback is it can be copied and pasted in another system very easily... I want to generate a key for the exe file and while installing the key should be used and when installation is completed ,the key should not be used again... Is this ya secured one or give me some ideas how it can be done....
I want to create some sort of method of creating a web service that will run automatically and run DB queries and some API calls which will then store data that I can use/call without taking the processing or time penalty of doing it every time a user access my web service. Is this possible? If so, point me in the right direction on how to implement something like this
Using vb.net and ASP.net
Thanks in advance!!
i am publishing an app in vb.net. it's creating setup.exe and a folder called application files. i am told that setup.exe is stand alone and does not need any other files. is this right? because when i put setup.exe in a different directory it says that some files are missing.
I have a asp.net vb.net app, with a upload file control, when i upload the file i can get the type of file the extension : .(some thing),
But if the user change the extension how i can get the real type of file?
Any ideas??
What error handling should be used in VB.NET?
Should you use the "On Error Goto ErrorHandler ... Exit Sub ErrHandler ... End Sub" pattern or should you use the "try { ... } catch { ... } finally { ...}" pattern?
Need Help in converting this to VB.NET
public void GetCustomers(Action<IEnumerable<Customer>> onSuccess, Action<Exception> onFail)
{
Manager.Customers.ExecuteAsync(op =>
{
if (op.CompletedSuccessfully)
{
if (onSuccess != null)
onSuccess(op.Results);
}
else
{
if (onFail != null)
{
op.MarkErrorAsHandled();
onFail(op.Error);
}
}
}
);
}
I'm using Dundas Chart Profession within my VB program to generate a chart based on my data. Right now I have my charts opening fine but I am unsure how to add the functionality to let the user choose to print (and export) the chart once the program is running.
I am an experienced C/C++/C# programmer who has just gotten into VB.NET. I generally use CType (and CInt, CBool, CStr) for casts because it is less characters and was the first way of casting which I was exposed to, but I am aware of DirectCast and TryCast as well.
Simply, are there any differences (effect of cast, performance, etc.) between DirectCast and CType? I understand the idea of TryCast.