Software Development Network Logo
  • Game Technologies
  • Windows Vista
  • .NET Development
  • Visual Studio
  • SharePoint Products
  • Visual C++
  • Microsoft ISV
  • Visual FoxPro
  • Audio and Video
  • Visual Basic
  • IE Development
  • VS Team System
  • SQL Server
  • Smart Devicet
  • Visual C#

Software Development Network >> Visual Basic

Visual Basic

New Question

how to Convert encoding from windows 1256 to asmo 708
convert string to date : error out of index range
what is wrong with this?
Status Bar Icons
keypress doesn't respond to up key
Single APP Instance VB.NET 2005
How to reference XSL style sheet into XML file in VB.NET?
VB6 calling a C# dll
how to hanles Datetimepicker 's check event?
DataTable.Rows.Add()

Top Answerers

Omar Morando
lemonsito
enric vives
Ben Amor Bassem
swaroop.m
Rahul Singla
Ali Katouzian
Sameer234
parreg
Zulkhairi
sitemap
Only Title

Answer Questions

  • Jeff Williams Embedded Resource?

    Hi, I am trying to create a file that is seperate from the EXE file. The application I am making has a typical login form. The usernames and passwords are stored in a database file. Instead of coding the validation of the user into the EXE, I want the code to be in it's own file. I would like to access this file from my application. At this moment I figure that the validation code should be created as a module. The module should be built as an Embedded Resource. First question is; is this the best method to do this, meaning would a module be the best approach I want the file seperate because I want the ability to change the validation coding at anytime without having to recompile the EXE file. Logic dictates creating the validatio ...Show All

  • kbenny vb.net dlls and access database protection

    I have a window application (vb.net and access database), I want to proctect my dlls and access database. I need the best way to do it Thank you Use SQLExpress for tighter security than access. Your dlls can be decompiled and I've heard that there are utilities that can convert MSIL back into a structured language (VB, C#); but I don't know much about it beyond that. What do you mean by "protect" You can lock your database with a password so that it can't be opened in Access (without hacking, that is - Access Database is not the most secure file format) but I don't know what you mean by protect the dlls... thanks for your help ok I've locked my database with a password, but ...Show All

  • MDesigner parsing commandline arguments?

    Hey everyone, curious how to parse commandline arguments with vb.net. What I want to do is my program outputs a configuration file much like the old .ini files for example [config file] configvariable1=something configvariable2=something etc. now I've written code to read these files and right now you click a button on the form and select the config file and it reads it and does what it has to do no problem. What I want to do is be able to double click one of my config files and have it fire up my program and do all this automatically instead of having to fire up the program and then select the config file. I've already setup the file associations in my installer program I'm just curious how I would code it into my VB.net load form. My gue ...Show All

  • hemo Bound DataGridView column naming problems

    I am using VS2005, Team Edition, with .NET version 2.0.50727. In the course of developing a program, I have had occasion to bind a DataGridView (SelectedSourceGrid) control to a data table (SelectedSourceItemsTable). The SelectedSourceItemsTable has these columns (from the Immediate Window of my executing program) selectedsourceitemstable.Columns(0).ColumnName "TPID" selectedsourceitemstable.Columns(1).ColumnName "TPNAME" selectedsourceitemstable.Columns(2).ColumnName "AccountType" selectedsourceitemstable.Columns(3).ColumnName "CreditedDistrict" selectedsourceitemstable.Columns(4).ColumnName "EarnedPct" selectedsourceitemstable.Columns(5).Column ...Show All

  • TedCullen Can %USERPROFILE% be used in VB.net 2005

    I'm thinking about this for several month, as we can use in windows xp "run" command, i wondered can i use %USERPROFILE%,%SYSTEMROOT%,%WINDIR% or etc in my VB.net this will save tme if i can use it. anyone has answer You can definitely see these variables in your VB application; try using the Environtment.GetEnvironmentVariable() method: http://msdn2.microsoft.com/en-gb/library/system.environment.getenvironmentvariable.aspx ...Show All

  • BasharA required .bin folders

    I need to know if .bin folder is required for hosting .net 2.0 web content built using VS 2005. I recently posted a website to my hosting provider and already there is a server runtime error "/". I was told to upload to the htdocs folder I seem to remember that htdocs folder is a unix or linux folder in the root drive i am not sure. I have been told that I will be hosting on a windows server, is there things that I ought to be looking for... to be sure that I am in fact being hosted by a genuine 2003windows server and that If I have problems they can be dealt with by competent support it's just that there are many false claims about such an issue. DKB best place to ask any ASP.NET re ...Show All

  • hapazlam Hi iv ben programing in vb5.0 and i would like to get vb6.0 can i?

    Iv ben programing in vb5.0 for about 2 years and i would like to get vb6.0 but i cant find it. And i dont like .net because: 1 it's not as ez to use. 2 it will not work on windows 98se Dose any know ware or how i can get vb6.0 Thanks So .net v2 will work on win 98 cool. but you see my computer has 98 and i like it beter the XP and iv trad to go to .net but i cnat even just put a Box on a form or a line i have to do it all in code. And thay made .net a lot longer like in vb5 i can do App.Path and get my exe path .net i have to do "thing.thing.thing.thing" and thares a lot of stuff thay did like that. >What does this mean as far as intellectual property rig ...Show All

  • Prasong Where is Clear? How can I clear all checks in a checkLISTBOX with out a loop?

    Why did they get rid of clear. I have a checkbox with 50 items. I want the user to be able to reset the selected checked items to none. I need to be able to clear the selecteditems in a checkbox. Any ideas besides doing a loop Thanks Theresa I think your only option is a loop Dim i as Integer For i = 0 To CheckedListBox1.Items.Count - 1 CheckedListBox1.SetItemCheckState(i, False ) Next Hope this helps. tattoo wrote: I think your only option is a loop Dim i as Integer For i = 0 To CheckedListBox1.Items.Count - 1 CheckedListBox1.SetItemCheckState(i, False ) Next Hope this helps. ...Show All

  • Mr_White FormClosing Event

    Hi there. I have an inherited form hierarchy where the root form captures the FormClosing event, which then invokes a overriden "FormClose" method. The overriden method correctly determines the value of the e.cancel attribute and passes it back to the root FormClosingEvent handler. However, when e.cancel = true the form closing event is not canceled and the form closes anyway. The root form, and all it's children, are children for a MDI form. Can anyone tell me why e.cancel = true in the case doesn't prevent the form from closing Thanks. Here is the declaration of the FormClosing Event handler: Private Sub StandardUIForm_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEve ...Show All

  • AndyPham Tracking keyboard (In)activity

    I am writting some code to help me track when user activity is not going on on a computer and I've been having a big problem getting it right. Not an event that will be trapped by a windows control. I've been able to get it right for mouseactivity, (just movement and not a button press though.) I used windows.forms.cursor.position to track a change in it's position. But I've not been able to get keyboard activity right. Can someone please help.I'm using VB2005 express edition. You need to look into "hook"ing the keyboard... here are some places to start reading http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/abouthooks.a ...Show All

  • sharathp2 How do i display error message in one message box

    hi, i have question about display all the error message in one message box. The application that i am creating will allow user to enter for example first name, last name, email address, their relationship status. The fields for different textbox could contain different errors, for example name textbox could not contain symbols and email address must contain @ sign. if errors occur then message box should pop up after submit button click. now the question is how do i put all the error message in one message box after submit button is clicked. thank you MessageBox.Show(" your Message Here ") :-) well you simply do your validation on the textbox, checking each character after they hit the submit but ...Show All

  • fubnuts Failed to import ActiveX control

    I am using VB2005 express and VC#2005 express. With my old friend VS2003, whenever i needed to add flash to my WInforms, all i needed to do was to add the control as a com component and drag it on the stage from the toolbar. Now, when i did the same in new express version, althogh it is added in the toolbars and the references list, but still, whenever i try to drag a shockwave flash instance on my win form, i get the error: Failed to import ActiveX control, please ensure it is properly registered. does some one have any idea how to add flash comntrol as we used to do in earlier versions Please reply this ASAP. Thanks and regards. Syed Mazhar Hasan Ok here is my Solution: After ...Show All

  • Jason Conner can i use scrollbar on a frame?

    im just starting out VB, and i want to know how to use a scrollbar and can i use scrollbar on a frame thanks! I think following links will be helpful http://vbnet.mvps.org/code/forms/scrollviewport.htm http://vbnet.mvps.org/code/forms/scrollform.htm thank you so much Vallari! ...Show All

  • chriserin generating variable names

    Sorry to be so stupid but I'm new and as yet have been unable to find a post that answers my question by searching. What I am trying to do sounds straight forward to me - but I can't do it. I want to be able to define and access variables from a string. Eg Instead of dim variable1 as integer dim variable2 as integer dim variable3 as integer dim variable4 as integer dim variable5 as integer dim variable6 as integer I want to be able write a for loop that defines all something like dim counter as integer for counter = 1 to 6 dim variable & counter as integer next counter Needless to say there aren't 6 variables (and for that matter nor is the code quite so simple) Similarly I might want this so t ...Show All

  • Tom_Liu Downloaded file (via HTTPWebRequest) not quite right

    Hi folks, My current project downloads remote binary data files from a website, and I'm using HTTPWebRequest to do this. For whatever reason, the files I'm getting as a result are almost correct, but not quite. If I download the file manually through IE, it works perfectly. But the file that results from my program running is missing bytes here and there. Oddly enough, nearly all of those bytes are the character "+". I know I'm missing something obvious, but I can't figure out what. Code is as follows: dim wr as httpwebrequest, response as httpwebresponse, instream as binaryreader, done as boolean, _ hr as integer wr = webrequest.create(url) response = wr.getresponse() dim ms as stream = response.getresponsestream() ...Show All

212223242526272829303132333435363738

©2008 Software Development Network

powered by phorum