Answer Questions
Paul Hood VB6 keywords, language to VB.net
VB6 Language reference provided all keyword data, language reference data, etc. sometimes with little code snippets. Where is there equivalent information on VB.net that is in simple format like that used for VB6. I find help in vb.net so confusing as to be worthless. Also where can one find an equivalency table VB6 to VB.net. For example, a VB6 keyword not covered in VB.net, should indicate a workaround. For example screen height in VB6 refers ...Show All
rtf0 uint64 to date conversion
I created a class that returns the system up time. However the number it returns is a uint64 as thats what its base class returns. When i run the program it returns a value like this System Uptime = 94118 What want to do is convert this to a time and have it say something like 1 Day 22 hours 5mins and 30 seconds. However I a not sure how to do this, what does this number represent the number of seconds mins and what is a uint64 is t ...Show All
pacuhy "Event DoubleClick is not valid on this ActiveX control"???
I have an exception I’ve never seen before in VS2005. I sort of understand what’s happening but don’t know how to resolve it. Event DoubleClick is not valid on this ActiveX control. Here is what the user stack looks like at the time of this exception: > KnowledgeStore.exe!WindowsApplication1 . Tabp.New (System.Windows.Forms.TabControl ParentControl = {System.Windows.Forms.TabControl}, WindowsApplication1.Common ...Show All
CBueche multiple button with 1 method
hi there, i have set of 5 buttons, and i would like to use 1 method to listen to these 5 button's click event and display the particular name of the button when i click 1 of it using messagebox, i have no idea how to implement it, can anyone show me example: when i click Button1, a messagebox will prompt and show me "Button1", so as well for others Private Sub Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Ha ...Show All
linnOz new to crystal reports
hi friends, i am just new to crystal report . i want to know that crystal reports is part of vb or third party control. how i can use this in vb.net . thanks khaleel I believe Crystal Reports is a third-party control. This link gives some info about Crystal Reports for .NET http://www.businessobjects.com/products/reporting/crystalreports/net/default.asp ...Show All
LaVinci How do I split packets?
What code would I use to split packets or slow them down Kane, This is a DotNet Forum. Since you are dealing with a COM based product, you'll receive a better answer from a Vb6 group. Please see the VB6 announcements at the top of this forum. I assume that you are using UDP since you are referring to packets and the good ole' winsock control. I haven't tried this myself, but couldn't you use setsocko ...Show All
David Broman When the grandkids can't inherit from their supposed parents.
I'm doing something stupid or have screwed something up. Base is parent to DialogBase If you create new forms to inherit from Base they inherit fine. BUT if you try to inherit from DialogBase (by clicking on it) I get Base instead. So the kids get grandpa instead of pa. Suggestions please Regards, Al My feet are soooooo full of holes. I hope others are learning from my stupidity. Somehow or another the stand ...Show All
tonyhinkle I need help with Printing
Ok, I am making a program for a this small bussness I work for. Now they wanted me to set up a database for our products serial-numbers and a front end program for it. Now on top of the program they want me to make they also want hardcopies of each serial number entered, including all the info that goes along with it. Now I have been hunting all over for information to make it so I can just print the MDI child form as is. Well all ...Show All
Sam Skrivan adventure works and 101 Sample files
hi All i have downloaded both of the above but can't seem to get any of the sample files to run in VB express 2005 which need the adventureworks_data db. does anyone know if it should work at all I am getting the same error. I take it that the database and the sample app don't work together as the database is missing those two columns for that table. If anyone knows a fix, I'm listening. Are there any scripts which acco ...Show All
Tommy Ready HOW do you make VS2005 Server Explorer Show Stored Procedure Columns
VS2005 server explorer only shows stored procedure parameters, no columns. I've searched high and low for a place to turn this on, if that can be done. In VS2003 it was possible to view the columns that a stored procedure returned along with its parameters. What's up Anybody know how to view the columns. That's a real help when making sure column names in code match their stored proc names. Hello Sorry for the ...Show All
Brian Stern - MSFT Strange ReadByte results
I am trying to read a binary (midi) file. This image shows the first few bytes in a hex editor (Ultra Edit, xvi32 gives the same result). Notice that the last 4 highlighted bytes are 00 00 01 B9. I Read this file with the following code: Private Function hexify( ByVal b As Byte ) As String Dim retval As String = b.ToString("X") If retval.Length = 1 Then Return "0" + retval Else Return retval End Function ...Show All
Sebastien St-Laurent Unicode question
After I have compiled my application are there ANY possible ways that UNICODE can affect the running of the application in any way at all For example (run on these systems characters typed and entered into fields will they be 4 byte characters ) If there is any possibility of any problems at all then how do I know when this is happening and how do I resolve the problems Michael J. Dyrnaes The link was supposed to point to the ...Show All
Chris_ttz Web Service setup help needed
Hi all, I'm in the process of learning how to create and consume web services. I understand how to create the service and how to access the service from vb.net but what I don't know is how to set something up that my web service runs on. I don't have a website to publish the service on so I've briefly looked into ways to set up some kind of desktop emulation or host service that I can use. I've seen references to IIS running on the desktop ...Show All
WereWolf VB & Word macro problem.
I've created a macro in word. I'm trying to use Winsock to establish a TCP/IP connection. When I load the Macro in Word, it keeps telling me that Winsock isn't defined. Is there a way I can load Winsock I tried using "Load Winsock(i)" but that failed as well. Here's my macro: Sub ANewsmtp() Winsock1.Connect "my.smtp.host", 25 Winsock1.SendData "EHLO my.domain" & vbCrLf Winsock1.Send ...Show All
Reid Hochstedler I am having a problem with a code and could use help.
I am having some trouble with this code. I would like to covert the for...next statement to a do...loop statement and can't seem to figure it out correctly. Any suggestions 'declare constant and variables Const TERM As Integer = 5 Dim principal, payment As Double Dim rate As Double = 0.04 'as accumulator Try 'assign input to a variable principal = Double .Parse( Me .uiPrincipalTextBox.Text) 'c ...Show All
