Skip to content

Visual Basic

Visual Basic Questions

This category can be followed from the open social web via the handle visual-basic@forum.codeproject.com

34.4k Topics 120.1k Posts
  • VB.NET for SQL Server problem

    csharp database sql-server sysadmin
    3
    0 Votes
    3 Posts
    0 Views
    B
    Thank you Michael , you may have clarified a point. I had got the instruction from the Dummies addition (VB.NET Database Programming for Dummies), to use Windows 2000 disc to install SQL Server 2000. Seemed not to work. So it seems I will have to purchase SQL Server 2000 package hey. The version of Visual Studio I have is the Student version; does not ship with MSDE. As someone who is still on the learning curve, I would also like to get an opinion on the future of an aspiring VB.NET/SQL Server programmer. Thank you Mic
  • How to Load Form2 from Form1

    tutorial
    5
    0 Votes
    5 Posts
    1 Views
    J
    That thought didn't dawn on me as soon as it should have... :doh:
  • 0 Votes
    2 Posts
    0 Views
    P
    I got this error once when i registered .net. What i did to correct the problem if this helps at all i uninstalled the crystal reports portion of the .NET installation and reinstalled.This seemed to correct my problem hope this helps.
  • Cannot create Enum Type from Type.GetType("EnumName")

    question
    7
    0 Votes
    7 Posts
    0 Views
    D
    My bad.... Turns out the enum I was working with was declared within a class (I guess I had to leave for the weekend to figure it out). Once I moved it so it was no longer nested, it worked.
  • Create Windows Local Users

    help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Interesting Problem in Deployment

    help csharp visual-studio sysadmin
    2
    0 Votes
    2 Posts
    0 Views
    I
    Het2109 wrote: gives error of KeycodeV2.dll not found, but it is there in the desired path Did you get a licence key for Crystal Reports? I had this problem, and if I remember correctly, to fix it you get a (free) licence key from Crystal Decisions, and stuff that into the Serial Key (?) property for the Crystal merge module in your setup. It's something like that anyway, I mentally purge myself of Crystal related things as far as possible :-) Ian Darling "One of the few systems...which has had “no deaths” in the reliability requirements." - Michael Platt
  • Store an image in Access using ADODB

    tutorial
    3
    0 Votes
    3 Posts
    0 Views
    P
    can u give me the illustration of how to use the Ole object to store the image PRAVEED
  • HowTo: Read Sound Volume in RealTime

    help question graphics game-dev
    2
    0 Votes
    2 Posts
    0 Views
    D
    Do you want the "volume level" or the sampled peaks of the output going to the speakers? Volume is simple, you've already found the code for it. Sampling the output is a whole other story. Now you have to consider getting the output of 1 to 8 speakers. This sampling can occur very fast, but can your serial port implementation keep up with the rate of data you want to transmit? How fast are you looking at sending data out the serial port? You might want to look at this[^] link for a sample on MSDN. RageInTheMachine9532
  • Free VB.Net and C# Training

    csharp com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • New to VB.Net from VB6

    csharp question
    3
    0 Votes
    3 Posts
    0 Views
    G
    Thanks...problem solved... :-)
  • One form MDI only admitted

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • hide a from which is not foucsed

    help
    3
    0 Votes
    3 Posts
    0 Views
    Z
    write in the main form command button main.hide also when second form is loaded then create a commandbutton and write the following code me.hide main.show
  • creating checkboxes dynamically

    help question
    4
    0 Votes
    4 Posts
    0 Views
    Z
    note it is for vb6.0 dim chkbox as checkbox set chkbox=controls.add("vb.checkbox","checkbox1") chkbox.visible=true chkbox.left=50 chkbox.height=50 chkbox.enabled=true u can also change name (the second parameter in controls.add method) by concating string
  • mousehover?

    csharp visual-studio help tutorial
    5
    0 Votes
    5 Posts
    0 Views
    N
    about the 'e' thing, i was referring to the 'ByVal e As System.EventArgs' part. i guess i shouldntve said what do you set e to, but what type, or event, or wutever its called, do you set e to. but thank you. I will go check out the docs now, thx again for ur help. ------------------------ Jordan. III
  • tabpage seting foucs

    help
    2
    0 Votes
    2 Posts
    0 Views
    M
    Are you talking about when you right click on a tab setting it to focused before you "do stuff" to the tabpage. If so I was having this problem the other day and fixed it with a little workaround. '------------------------------------------------------------------------ ' A backhanded way to get the tab we clicked on ' Private Sub tabFromClick(ByVal e As System.Windows.Forms.MouseEventArgs) Dim thisTab As Integer For thisTab = 0 To Me.TabCount - 1 Dim tabRect As Rectangle = Me.GetTabRect(thisTab) If tabRect.Contains(New Point(e.X, e.Y)) Then Me.SelectedIndex = thisTab End If Next End Sub
  • FSO FileSystemObject

    com help security debugging tools
    2
    0 Votes
    2 Posts
    0 Views
    H
    In client side scripting you can't access the file system this is very harmfull for internet users I read about *.hta applications (web pages hosted in browser) that can do this. But I have no more info about them.
  • Parallel Port Communication Problem

    csharp visual-studio help css
    5
    0 Votes
    5 Posts
    0 Views
    R
    Hi! Folks,:) Below are the few queries that have arised in my mind after looking at the code in file "inpout32drv.cpp". These are few of the hardcoded paths, that I have found, 1. C:\kernel_mode_driver_source\i386\hwinterface.pdb 2. nsf.\i386\hwinterface.sys 3. In CreateService function call you are using the hardcoded path "System32\\Drivers\\hwinterface.sys", but I have the "hwinterface.sys" file in the application directory only. Also, I have no such file in my "system32\drivers" directory. First of all I don't know these paths stands for what? Second thing is, Any of the above specified paths are not valid on my system. Can these be a reason, that program is not working on my system? I am sending the same at your e-mail box. Thanking You, Regards, Ritesh.
  • Userform using text boxes

    help
    2
    0 Votes
    2 Posts
    0 Views
    N
    hmm.. sry to get ur hopes up. u prolly think iv got a solution, which i dont. ;P i dont know anything about these userforms your talking about. iv worked with vb6 windows apps, but not in vb.net. only console apps. i am prolly way off, but, couldnt u just make a hidden text box or label to store the previous forms' value? ------------------------ Jordan. III
  • Need help on monthview control

    json help tutorial
    2
    0 Votes
    2 Posts
    1 Views
    J
    I couldn't find a way to limit the selection to weekdays in the default control. I have another idea: if the user selects something from the default control that is not a week day, prohibit that selection and prompt the user to enter another value.
  • Background Application

    csharp
    3
    0 Votes
    3 Posts
    0 Views
    J
    Sorry for the hasty response earlier -- here is another simpler solution: instead of minimizing the window, make set Visible to false and set ShowInTaskBar to false, as well. It won't show in the task manager (at least not in Win2K/XP) and it won't display in the task bar either.