Answer Questions
leiyangcl Can not add event handler
Hello, I am using Visual Web developer 2005. I have a datagrid, and I am trying to delete a row, so I need to add an event: Protected Sub delete_row( ByVal sender As Object , ByVal e As System.Web.UI.WebControls.GridViewDeletedEventArgs) Handles GridView1.RowDeleted End Sub When I write this code, "gridview1" becomes sublined. That is why I try to declare an event handler by writing: Protected WithEvents gridview1 As ...Show All
SirKnight Best way to repeat tasks on a regular time interval.
Using VB.NET 2005 I have a hardware device the constantly sending data to the PC serial port. I was wondering what the best way to poll the serial port for data would be. I was thinking of two different approaches. Any pros/cons or another suggested method would be appreciated. I'm kind of thinking that Option #2 is better programming practice. I'm just not sure where to start. 1) Put a timer on the form. Set the timer to trigger every 10 min ...Show All
Rabarbers Process continues to run after Application.Exit()
When the user clicks on my Exit menu command I call Close() followed by Application.Exit(). The GUI goes away as expected but the process is still listed in Task Manager. What do I need to do to really terminate the process You might leave unmanaged resources allocated if you use Environment.Exit() I see now that Application.Exit() should inform all messageloops to terminate. I did not see that when I made a test application for multi ...Show All
Steve Stilwell ER Diagrams
Hello. Historically SQL server has shipped with a simple but extraordinarily effective database diagramming tool. For me its one of the compelling features that differentiates SQL from mySQL or postrgres. SQL Server Express Edition does not seem to include a diagramming tool. Is it possible to use one of the other express editions to create diagrams or is there another way to do this Thanks for taking the time to respond. renen. If ...Show All
lampher regular expression help?
Okay, I know I need to buckle down and start reading some regex manuals, but can someone give me a quick fix in the meantime. I want to do something like this: regex.replace(somestring, "<AbS>", "<A>") where A is an alphanumeric expression like P or H3 or table , b is whitespace or punctuation, and S is anything. I'm trying to write my own HTML cleanerizer, and I want elements like <h3 ...Show All
the_lmich How can I have program "follow" user from workstatation to workstation.
I'm developing an application be used in a networked, multi-workstation, multi-user environment. I'd like a user to be able to move from one computer to another, and have the application resume where (s)he left off.on the other machine. Eg. 1. User at order desk pulls up record for customer ordering a part. 2. User locks the session, and travels several hundred feet to find the part in the warehouse. 3. User finds the nearest a ...Show All
Farmer11243 XML...add new XML elements to existing document
I asked this earlier, but didn't get an answer. I'd really like to figure this out. It seems like it shouldn't be too hard to do. I'm making an application to keep track of recipes. I'm able to add two recipes, but when I add a third, it overwrites the last one in the file with the new one I'm adding. Can anyone give me any suggestions on how to do this Here's my code. Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.E ...Show All
Spidey Inserting ComboBoxText, StartTime and EndTime into SQL Express table
Hi I'm trying on a tabletennis applications which save playernames,playernpoints,startTime and EndTime into a sqlExpress table, I've also created in c#express. The MatchTable contains following colums: MatchID int (isIdentity) PlayerName1 nvarchar(50) PlayerName2 nvarchar(50) PlayerPoints1 int PlayerPoints2 int MatchBegin datetime MatchEnd datetime (here I want also the seconds) For the playernames I'v attached 2 comboxes to the matc ...Show All
Brave Daun Beginner Video Series Resource Availability
My Visual Studio 2005 Express registration confirmation email listed an available Resource called "Beginner Video Series — Learn how to program using Visual Basic in a series that covers the basics of programming using Visual Basic as well as working with SQL Server 2005 Express" The link in the registration confirmation email for this resource takes me back to the Express Editions home page. http://msdn.microsoft.com/vstudio/expre ...Show All
Ivan Giugni PInvoke restriction: cannot return variants
I am trying to use the dhcpsapi.dll to search for a dhcp client using GetClientInfo. This returns the error "PInvoke restriction: cannot return variants". Any ideas what causes this The code: <StructLayout(LayoutKind.Sequential)> _ Public Structure DHCP_SEARCH_INFO Dim SearchType As String Dim SearchInfo End Structure Private Declare Function DhcpGetClientInfo Lib "Dhcpsapi.dll" ( ByVal ServerIpAddress As ...Show All
Jfarran How to store the data grabed into the data base ???????
Hi I ve been working on the rss feeds and rss reader... and i m able to grab all the data from the feed and display into the reader . But i need to know how can i store the feeds obtained permanently into the data base The data base used is SQL Server 2005 express edition.It would be very helpful if i can get to know how to do ............ Thanks naina Sounds like you're having trouble accessing the registrat ...Show All
Lisber Classes... Posititve.. Nested Classes? ...Negative
Hello, within another thread, I've learned to use the Property Class in the simplistical way... But this is what I was able to produce: Day1.Lunch But if I wanted to do Day1.Lunch.Special how would I do it I tried to put multiple Public Property statements within another and produce a huge mess... Had to undo.......... I tried to read the MSDN's Nested Public Class, but no avail... Please help me out Is this even possible (ex. Cars.Honda.Civic.2 ...Show All
Booojanan Directories are not shown in the "Projects and Solutions section" in the "Options" dialog box.
Hi all; I wanted to set my directories to make PSDK available to C++ Express but could not find any dialog to setup the lib,include and executable directories I could not activate the product because of the unavailablity of the passportservers probably, may that be the reason or any suggestions I am trying to follow the steps in the URL stated on the startup page: http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx Thanks ...Show All
Kenneth Norway VWDeveloper 2005 / Password error message
Hello! I installed the VWDeveloper 2005. Started the Personal Web Site Starter Kit and ran this a few times. When trying to create an administrative user (Web Site Menu -> ASP.Net Configuration -> Security), it says (in dutch, translated in english it is about as follows:) Minimal password length: 7. Non-alfanumeric signs demanded: 1. But whatever entered, conforming to these rules, this error-message keeps coming. Help is really appreciat ...Show All
Greg.Duffield Getting HELP
I am perhaps a little slow (stupid). Deal gently with me! I have loads of nice simple examples of every thing I learned to do in VB 6, this meant that when I had forgotten how to do something I had done before I did not need to look through miles of code. So, now I have downloaded Visual Basic Express the MyVB (originally some VB2 much VB4 then updated via 5 and 6 with new regular new examples) now I am trying to update to VB express. Ok so I ge ...Show All
