-
- C++ Express Compiler fails after installing SP1 beta
by BRoyds
- 4 Replies
- Last post
by Sporten
- I have just installed VSC++ Express SP1 beta and now nothing compiles because there seems to be problems in the xutility library.
Here is the version information from help:
Microsoft Visual Studio 2005 Version 8.0.50727.363 (SP.050727-3600) Microsoft .NET Framework Version 2.0.50727
Installed Edition: VC Express
Microsoft Visual C++ 2005 76542-000-0000011-00125 Microsoft Visual C++ 20
-
- How do I distinguish between LShift and RShift keys.
by BLeRg
- 7 Replies
- Last post
by Tall Dude
- In TASM I would simply check the BIOS Shift Flags and Extended Shift Flags. There are an LShiftKey And RShiftKey, but Control.Keys only returns the "BIOS Shift Flags" without the Extended Shift Flags. I would like it if my program could keep all its functionality as I "translate" it from assembly.
Thanks.
-
- Only Capital letters in richtextbox
by cjk
- 14 Replies
- Last post
by js06
- I need to know a code to only have capital letters be able to be in a richtextbox. No numbers, no lowercase letters, and no symbols. Can someone help me
-
- random name generator
by MayClem
- 12 Replies
- Last post
by Solitaire
- hi,
very new to this - only started with vb a week ago!
my boss wanted a random generator to decide who's turn it was to make the tea - i know, a silly thing really.
essentially all i need is a way to randomly pick a name from a list of 5 or 6 people, do i do this in the same kind of way as a random number
any help would be appreciated
Thanks
-
- How to set webbrowser homepage?
by tak_juju
- 5 Replies
- Last post
by Martin Xie - MSFT
- I have created a webbrowser and and dialog box. When the dialog box appears there is a text box and a set button, i want this button to set my webbrowser hompage when i type the url in textbox.
-
- Viewing bytes in a byte array
by Wibs2
- 6 Replies
- Last post
by spotty
- Hi, I have been working on an application that deals with image files, but with files that have non-standard and unusual formats. To ensure that I have constructed the encoder for these files correctly, I save a test file, open it in a Hex Editor, and check that the structure and the header info is correct, etc. When opening a file, I want to ensure that my decoder is working OK. Is there such a t
-
- Beginner VB question
by Mac_dm
- 5 Replies
- Last post
by Mac_dm
- Hi all,
I am just learning a little VB and trying to write some apps for work.
all I really want to do is put a GUI interface on command line programs like netdom, dsadd and such. I am having trouble getting the variables I create with input from the app to dynamicly fill the command line arguments. Is there an easy way to do this that I can replace the arguments of a program like netdom
-
- Mouse blinker help!!!!!! its messing me up!!!!!
by Amrykid
- 5 Replies
- Last post
by ReneeC
- today i was coding a app and then my mouse blinker (appears when typing text) turns from a thin line into a black block and its messing me up and really mad about. does any one know how to change it back. i did it once but i forgot.
-
- A tabpage for each folder in Application.StartupPath
by Xancholy
- 2 Replies
- Last post
by Xancholy
- I have a TabControl on which I would like to display the contents of each subfolder in a folder called MyFolder in Application.StartupPath So if the user creates a subfolder called Folder1, then on Tabcontrol1 there would a tabpage called Folder1. Basically, foreach subfolder in Application.StartupPath + "\MyFolder"... show a tabpage called subfolderName. Thanks for any help to figure this out.
-
- Generate 5 unique random numbers?
by Zolomon
- 7 Replies
- Last post
by brad82
- Hello! I wish to create 5 unique random numbers, between 1 and 30. All the five numbers should be different from each other, example: 5, 21, 16, 28, 4 and not like: 2, 23 , 14, 23 , 30! I have tried to accomplish it with this code:
Code Snippet
private void CreateRandomNumbers()
{ win1 = CheckNewNumber(win1); lblWin1.Text = win1.ToString(); win2
-
- System.Windows.Media
by jimmygyuma
- 10 Replies
- Last post
by jrboddie
- I don't seem to have System.Windows.Media in VC# Express, is that something you have to pay the big bucks for I need the RadialGradientBrush, which seems to do exactly what I need to do. Basically what I'm trying to do is a gradient (in a rectangle) with a focus point for the first color and the gradient radiates out in all directions from that point. The examples tell how to do it with a PathGrad
-
- VB not recognizing else command?
by MazterzDemon
- 14 Replies
- Last post
by MazterzDemon
- either i did this wrong or vb is wrong...
im try to get the label to show if the current file is ReadOnly or not...
If Label4.Text = IO.FileAttributes.ReadOnly = True Then
Label11.Text = "Read-Only File"
ElseIf Label4.Text = IO.FileAttributes.ReadOnly = False Then
Label11.Text = "Not ReadOnly"
Else
Label11.Text = ( "Select a Proper Fil
-
- how to create DLL and get Processor ID using VB2005
by Ramesh_Kumar_02a072
- 6 Replies
- Last post
by Blue8481
- Hi everyone,
I m newbie for VB2005. I m trying to create DLL for my project. I want know how to code for a DLL, means any template for the DLL.
If anybody help me to get Processor ID or some other hardwares.
Help Plz
Ramesh
-
- Understanding of class methods
by Foolios
- 2 Replies
- Last post
by Foolios
- This quote is from the book C#: The Complete Reference.
the methods of a class typically manipulate and provide access to the data of the class. With this in mind, recall that Main( ) in the preceding examples computed the area-per-person by dividing the total area by the number of occupants. While technically correct, this is not the best way to handle this computation.
-
- why imagelist errors with this?
by nate-d-o-double-g
- 5 Replies
- Last post
by nate-d-o-double-g
- i keep getting compile errors with this code but why
pb.Image = ImageList1.Images(0) Label1.Text = "Gettin ready for the ball...pretty isn't she! " If pb.Image Is ImageList1.Images(0) Then pb.Image = ImageList1.Images(1) Label1.Text = "Bad Gyal forward!" ElseIf pb.Image Is ImageList1.Images(1) Then pb.Image = ImageList1.Images(2) Label1.Te
-
- adding folder to project
by tir na nog 2
- 2 Replies
- Last post
by tir na nog 2
- hi all
if I add a folder to my project....eg....pic folder
how do I add it to my project deployment setup..
how do I access it in code....what would the path be....
so as to be accessible on any pc....
somethin like...eg ...if picturebox1 image is stored in the pic folder
picturebox1.mage = Image.FromFile( "my.application.pic folder" )
I am trying to add my
-
- How to cause Form to open another form on initialize?
by MLyons10
- 6 Replies
- Last post
by MLyons10
- I would like to set Form2 to open when Form1 initializes, but cannot seem to get this to work. Here is the code I have: public Form1() { InitializeComponent(); Form2 = new Form2(); form.Show(); } How would I go about getting this to work The code above works to open Form2 on a button click, but apparently it needs to be different on initialize. Any help and information
-
- Lost in VB
by New VB Student
- 4 Replies
- Last post
by New VB Student
- I am learning VB online and need some assistance.
I need to declare a module-leve variable named charges and need to code 3 checkbox event procedures so they add the appropriate charge to the Charge variable when the box is selected and subtract the appropriate additional amount from the Charges variable when the box is deselected.
The 3 checkboxes are Tennis = $30, Golf = $25 and $R
-
- do I give up yet?
by otto
- 14 Replies
- Last post
by otto
- If any other company was as difficult to deal with as ms I would not do business with them, Why do I do this, the same thing over and over again. Maybe, I was already crazy.
I have XP SP2. I have downloaded the Express setup. When I attempt to initialize install the tranfer fails everytime. I have, on several occasions reviewed the installation trouble shooting guide.
I cannot connect to the
-
- I can¡¯t return an Array from a method.
by GrandpaB
- 5 Replies
- Last post
by BadButBit
- I¡¯ve created a class that has an array of doubles and a couple of integers. The methods that I¡¯ve created return nothing! I¡¯ve stepped through the code in the Add method. The values for matA and matB are correct and the correct values are stored in X just before the return statement. But, then the returned value in the calling program has nothing in it. The calling statement is:
matC.Add
-
- Modifying SQL Data in VBe
by SQLVBusion
- 1 Replies
- Last post
by cverdon
- Hi, I'm looking for the basic steps of connection to and editing(Add and deleting tables and data) for a SQL Database inside a VBe Project. I've looked around the net (and the MSDN Help Library) with little success on finding something of this nature that's usable.
If anyone knows how to do this or a good tutorial showing how to learn to do this that's clear on ALL details, it would be extr
-
- Pop up second listbox when certain criteria met
by Dottj
- 5 Replies
- Last post
by pinoyz
- On my form I have a listbox that I have linked to my suppliers table in my sql database. I want to create a second listbox (linked to another table - supplierlocations) that will pop up beside the first if a user clicks on a supplier that has more than one location/branch. Sort of like when you click on all programs on the computer and the additional programs pop up out the side to be selected.
-
- NOT FUNNY ENYMORE
by _Nightblade_
- 11 Replies
- Last post
by ReneeC
- Hello i create 1 circle in the center and want 4 circles to rotate
around it. butt they seam to have amind off there one.
this is the code sofare:
Code Block
Imports System.Drawing.Drawing2D
Public Class Form1
Friend WithEvents Timer1 As Timer
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
' -- Red Circle
-
- How do I convert .NET 2.0 Coding into VB 2005 Express Edition coding?
by brottmayer
- 14 Replies
- Last post
by ReneeC
- How do I go about understanding and converting the coding of .NET 2.0 into the coding that Visual Basic 2005 Express Edition can understand
-
- A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly
by WillfinDavid
- 14 Replies
- Last post
by zxzqkrbrk Jr.
- When i add a .dll file as a reference in C# application it shows an error :
A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or COM component.
Willfin David