Answer Questions
me1982 MDI form startup
Hi I last used .Net 2002 and in the MDI form used the code below. In the properties of the project you set the compiler to start the main() function first. Where in .Net 2005 do you set this property(i.e. if it's stil there...). I need the app to start my Login form first. Any ideas <System.STAThread()> _ Public Shared Sub Main() startMyApplication() End Sub Private Shared Sub startMyApplication() 'Logi ...Show All
David Cautley Some Questions
how on earth do you make a color transparent I'm not tlaking about a button color, not a 'textbox color', but a color on Paint. I painted a picture on Paint. I loaded it on VB, now there's a big black area behind it. i want the black area to go away. I want to make the color 'black' transparent, so that when you move it over something, the black area is transparent. Tu comprende actually you might ...Show All
Tibor19 how can i disable HOOK?(in vb.net)
hi i will have a question how can i disable or disarm HOOK (in vb.net) Please Help!!! you got me wrong i think im not interested in hacking just want to disable that for example if an user enters username and password in a website i want to disable keylogger programs so any idea,how can i do that i started with dos OS and now i use XP in vb6 or c++ u can hook the api's! thats a kind of hacking(im not inte ...Show All
Kanhaiya StopWatch Sample in 101 samples
Just downloaded and modified the stopwatch from 101 samples, nice job! I am a PE teacher, and want to create a Timer for this stop watch ap. Count Down timers are very important, and I have a Large Screen in my Gym/Smart Board that I would love to display a countdown timer on, and of course the StopWatch I - you created. How would I implement the timer functionality I know how to get the time into a text box or Label (Web), but how do I s ...Show All
MatthieuDemoulin How to download an update from your program
I have a very brief understanding of updating from within a program... I take it you simply add the updated file at the specific location and when the program checks the location, if the file version doesn't match, it will download and install the updated file Thanks. Check out this great article on ClickOnce Deployment. Sounds like this is what you want. http://msdn.microsoft.com/msdnmag/ ...Show All
jks Create Log File or .txt file in visual basic 2005
How do I create a log file or a .txt file in visual basic 2005... Please help me with this...:( If you want to simply write text to a file.... My .Computer.FileSystem.WriteAllText( "C:\Error.txt" , "Text" , True ) This will append "text" to a c:\error.txt file. This is using the new My feature making it very simple. "Text" can be any string you want. If ...Show All
K. Rose "object instance not set to an instance of an object vb.net" happens when switch form
i have these 2 lines of code causing problem "object instance not set to an instance of an object vb.net" : dim frm2 as new frm2 frm2.DsGetAllQs.Clear() &nbs ...Show All
hayate How to strip/Rearrange textbox characters?
Hi all, Here's what I wanna code in VB 2005: I have a textbox that accepts only numeric characters upto 17 characters max. now, depending on the button i click, i want to either rearrange those characters and/or strip them (based on the character postion) to have another combination. Example: I input 27130948129045716 on the text box. i click on a button to convert it into 12 characters (by taking the last 5 digits, st ...Show All
Matt Ayers Announcement: Article on Refactoring of legacy VB code.
Hi, Just to let you know that I have published a tutorial on how to use refactoring in order to successfully migrate legacy (VB6) code to VB .net. http://www.codeproject.com/vb/net/Refactoring_elixir.asp Thanks, Danijel Arsenovski ...Show All
Russ1L Disappearing Data Sources
I just installed the VS2005 RC and now my Data Sources window loses its contents whenever I open a form or user control. I have 2 data sources defined, and they show up fine if I don't have a form as the active window in the IDE. As soon as I click on a form or usercontrol window, the data sources disappear and the data sources toolbar becomes grayed out. It's slightly different than when there are no data sources in the p ...Show All
Duddits 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
Dancer John Sending hex characters using MSCOMM32.OCX
Hi All, I am using VB5 to send and receive hex characters out the serial port using MSCOMM32.OCX. I can send a hex character using the following format: 'MSComm1.Output = Chr$(&HC3)' and my module will receive 'C3' in one byte. Which is what I want to receive. However, I need to send a hex variable to the port, ie. Chr$(&H hexvariable#) Does anyone know the proper sytax to use I really need help on this one!!! Thanks, R ...Show All
dsilberhorn Upgrading: Is it worth it?
Hi all, I currently have a VB6 application in which I have invested years of development on it. The application has a mixture of everything, such as: Client / Server architecture Data Services layer Tons of complex custom controls API calls, notifications, subclassing of every kind and more... Now that VS.NET 2005 is out, is it worth all the hassle to port such an app Thanks, Ivan ...Show All
gkousi Keypress Controls in Visual Basic 2005
How would I perform this code in Visual Basic 2005... If KeyAscii = 13 Then MsgBox "Enter is press..." EndIf Private Sub Form2_KeyPress ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyPressEventArgs ) Handles Me . KeyPress If e . KeyChar = Chr (13) Then DoSomething () End If End Sub This post was a little helpful, and I thank ...Show All
EamonnH System.Security.Permissions.SecurityPermission
I tried to move my project from my local machine to my NT4 server. When I tried to open the file, a message box told me that the location wasn't trusted. I ignored this and ran my program and it threw me an exception. I tried the suggestions that the exception gave me including giving full trust, etc. I am an administrator on both my local machine and my NT4 server. Does anyone have any suggestions Here is the complete exception: Request for ...Show All
