Answer Questions
Yanick Keyboard malfunction in Code Window
Okay, I'm slightly frazzled. The 'special keys' (return, tab, alt, ctl) don't work in the code window. They work fine in the properties window. Makes it real hard to insert a new line of code. Already tried another keyboard, same symptoms. WinXP - current acording to Windows Update. AMD 2800 with 1GB RAM Fresh version of VB Express (downloaded 11/18/05) This is the *only* place where this keyboard seems to malfunction - what a ...Show All
Hema Chaudhry Context Menus
There must be an easy way to do this but I sure can't figure it out. I have three listboxes on a form and one context menu that has "Select All" and "Select None" in it as options. If I assign this one context menu to all three listboxes, how in the .Click event may I determine in which listbox to select all or no items You might take a look at "AddHandler" I think that will allow you to use the ...Show All
gyurisc Locally link to .aspx page by using vb.net
Hi, May i know how to link to .aspx page locally(without via on-line) by using vb.net. this is my code: Private Sub btnReport_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReport.Click Process.Start("http://<ip address>/<shared folder>/OfferLetter.aspx") End Sub this is the error message display when i run it: Network Error (tcp_error) ...Show All
kristalittle Securing Application
Hi I was wondering how can I implement a security system to protect my programs when they are in the market, like for example Windows XP serials Lets say I take out my program Xwidget and they get sold, how can i implement serial numbers, in the program and how can i generate the serial numbers that the software can accept. Don't want to depend on third party install generators. Or can someone give me direction on how to do this wit ...Show All
Andy Bolton Error in Creating a Serializer, is it my code?
Here is a small code example that will consistently create a run time error in my VB .Net environment. I am curious if others will have similar results. Imports System Imports System.Xml Imports System.Xml.Serialization Public Class Group Public DataSet As Integer Public DataSetSpecified As Integer End Class Public Class Run Shared Sub Main() ...Show All
Alberto Ferreira RegEx Question: Match whole word from substring
Hello, I want to search a buffer using a search pattern and return whole words that contain the search pattern . Here's a sample Buffer: "CADLOG cat red green NAR_LOG bus stay logroll house mouse fur log crutch" Here's my search string: log I would like this to return matches: CADLOG, NAR_LOG, logroll, log Using System.Text.RegularExpressions I can match the substring within words, but I can't seem to return a whole word. Can someon ...Show All
Icehellgx Uninstall file
Hi, Can someone tell me where to find the uninstall file for any given program Where is it normally located Or else, if it has to be created, then how can I go about doing that Thanks a lot. As long as the program appears in the Add/Remove Programs applet, you can find the uninstall commands in the registry key HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall. Look through the subkeys for the Un ...Show All
Kamal_mahendra immed?
In vb 6 I could use the immedaite window to do something like form3.DataGridView1.Width to see the width of a column... then form3.DataGridView1.Width = 800 to set it and see if it looks right.. then I'd write a procedure to set up data grid appearance. How do I do that in vb.net Getting furstrated... Brian Changing the code to Dim newMDIChild As New Form5 newMDIChild.M ...Show All
Robert Schroeder excluding app.config from compiling
Hi, I am trying to setup resource or config files to store database connection info, i.e. server, username, password, port, etc. I currently have the info in the app.config, but when I build the application the app.config is not available for me to change it, i.e. it is compiled into the exe. Should I be using a different file I am using .Net 2003 tnx jctbmw, I'm not 100% sure that I understand wh ...Show All
sammy html to pdf
Hey guys, I'm thinking about writing an application that will convert html to pdf and vise versa and I have a few questions if you don't mind. 1) Is VB.NET a good choice for such a project I can do C++ or Java if it's more reasonable. 2) What exactly should I look up I'm guessing I'll have to use a third party component for this, so please point me to one if needed. If you have any information or tips on this then please let me know. Thanks ...Show All
Sreekumar Richtextbox question
i have textbox1 and richtextbox1 and button1, i put text in textbox1, press button1 and then i want it to add the text thats in textbox1 to the richtextbox, but i want it to add to the next free line so say if i had some text on the first line of the richtextbox1, i would want the next line of writing to start on the 2nd line and so forth and so on Any replies would be appreciated 1more question, when i press button2 how could i make it ...Show All
evdberg Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
Oleg Sych Question about setting bits.
I have the following: Dim bit As Byte = b(1733) If have1.Checked = True Then bit = bit Or 1 Else bit = bit Xor 1 If have2.Checked = True Then bit = bit Or 2 Else bit = bit Xor 2 If have3.Checked = True Then bit = bit Or 4 Else bit = bit Xor 4 If have4.Checked = True Then bit = bit Or 8 Else bit = bit Xor 8 If have5.Checked = True Then bit = bit Or 16 Else bit = bit Xor 16 If have6.Checked = True Then bit = bit ...Show All
Ryan1234 Question in VB.NET database programming
Hi, I need to know couple of questions in database programming with VB.NET which are listed below: How to locate records In Borland Delphi I do something as: Table.Locate('<Which Field to Find', 'Values to find', []<Options>]); and hope something similar would b there in VB.NET I need to create a Lookup Dialog Form. How can it be done in VB.NET to pass values from one form to antoher Looking forward for your replies. ...Show All
Rob Davis Can't add new form
Yesterdday I added power toys and My.windows.events.extensions. Today I wanted to add a form to my project. I tried the add new item button and got only my templates, with the two choices being the above and search for more templates online. I tried project menu -> add windows form, with the same result. I uninstalled power toys to no avail. I found nothing like windows events extensions, or my.windows, or microsoft. window, etc., ...Show All
