how can I get a combobox in a datagridview to show the dropdown list without clicking it twice. First click to select the control, second click to dropdown.
Does anyone know how?
Michael
Hi,
I have form1 and form2.
Form1 call form2 is dialog form.
How to check if form2 is active ?
Thank you.
Hi, the attached code adds a new line at the top of a richtexbox and colors it with the given color. There is a small problem and I couldn't find a way to solve it. When user clicks anywhere o...
How do I draw a line between 3 points and fade this line between 3 colors.
Start point P1 with color.red
Middle point P2 with color.green
End point P3 with color.blue
I have a datagridview with columns A, B and C.
When I double click on any cell in the datagridview the program displays a modal form which has textboxes corresponding to columns A, B and C.
...
I am pretty sure the reason I can't fetch anything into my data adapter here is because the columns in SQL Server are VARCHAR(50) and I am trying to run these against values from two DateTimeP...
I need to raise my privilege level in this code so that I can run this function and remotely get process information remotely. Is there a way to do this? Here is the function I am using. It wo...
Hello
I'd like to get the name of the domain that the computer is a member of. This is the domain listed in controlpanel->system->computer name
I need to make sure the computer is part o...
I am working with data bound to a grid for maintenance. When i do an insert with parameters, I would like to know how to initialize date fields, sh when loaded back into grid they will show a...
I am doing a homework assignment in which I've been asked to create an ASP.NET Web Service. When creating the file, the instructions typ type "http://localhost/..." in the "Location Box". Ho...
Hi, I'm not sure anyone will be able to help on this one, but I thought I'd ask just in case someone had come across the same challenge I'm facing. In one of my VB 2005 Windows Forms, I creat...
I am getting a syntax error in UpDate statement everytime I try to update the database with what is in the datatable and I'm not understanding why. I've attached the entire subroutine so plea...
I want to assign the selectedindex of items of dropdown start from 1 and not 0(which is default)
I have a RichTextBox1 on Form1 in my application. The RichTextBox1 has a Document open in it which has a word Indications: in it. I need code for the click event of a Button on Form1 which...
Hi guys,
I am trying to do something simple but can't get it working so I've simplified the problem to one Form with a RichTextBox whose Dock property is set to Fill.
What I need to achiev...
Hi...
I am developing an application in which i need to use some flash movies. I have no problem loading my swf movies into my AxShockwaveFlash Objects but I need these movies to have a tra...
In the attached code snippet (Access 2003 VBA), I'm running a For/Next loop between 2 dates. When I try to convert this code to VB.Net, I get the error: 'For' loop control variable cannot be o...
I am a bit confused about decalring your own events in vb.net. I understand why how and why you add events to dynamic controls like buttons using addhandler.
here is an example of creating ...
I am using a exit for in vb.net. what happens when i test true to 2 variables then i exit.
The problem is that
a=false
for i=0 to 10
a=funct(i)
if a=true and b=true then
exit for
e...
Hi,
How to copy text of a label control. Sometimes it needs to copy to another control for searching or others?
Thank you.
Hello,
I am trying to upload files to an FTP server. I have pasted the code below. I currently receive an error saying "Not Logged In".
I see plenty of posts online with similar compla...
HI friends,
I have yet another querry... I am developing a software tat prints invoices and labels for the product to be dispatched. The labels are stuck on top of the package and contains...
I have written a program using ASP and VB.NET (MS Studio version 2003). In this program, I need to generate and send an email message automatically. I tried using resource system.web.mail bu...
I have a currency field and when people click a format button it will insert commas. I reverse the currency and just iterate by 3 to insert commas. for some reason if I put in more than 100000...
Hi
I want to display the information of a XML in a VB.NET (ASP.NET) DetailsView control but I cannot solve it.
this one is the XML:
<?xml version="1.0" encoding="UTF-8" ?>
<city>
...