-
- Null Reference Error
by Mr_White
- 13 Replies
- Last post
by Mr_White
- This is still being a problem for me.
Public Shared Sub loadcw( ByVal vary As String , ByVal num As Integer )
Dim tmp As CheckBox
Dim tmp2 As CheckBox
Dim tmp3 As TextBox
If vary = "
-
- Trying to compile Media Share Starter Kit
by Rozen
- 9 Replies
- Last post
by nobugz
- Hello! My name is Rosen.
I am having a problem with compiling Media Share Starter Kit.
There is an error:
C:\Program Files\Microsoft Visual Studio 8\VC\include\msclr\lock.h(51) : warning C4091: '' : ignored on left of 'int' when no variable is declared
//lock.h
..........
template<class T> lock( T ^ _object) : m_object( _object ), m_locked( false ) {
-
- rtf change to html in desktop application
by anandc&#35;
- 1 Replies
- Last post
by Figo Fei - MSFT
- I want to create desktop application which convert the rich text box contain in html format and this html data stroe in database
-
- going from VS6 to VS2005, how to link static libraries I extremely confused
by The ZoloProject
- 3 Replies
- Last post
by nobugz
- well heres my errors at this point
Errors
------ Build started: Project: Breakem 2, Configuration: Debug Win32 ------ Compiling... game.cpp c:\dxsdk\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800 c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\zolo arcade games\breakem 2\zoloparticleemitter.h(63) : warning C4267: 'return' :
-
- Friendly Drive Names
by MarkDaugherty
- 5 Replies
- Last post
by MarkDaugherty
- I am trying to write code that will list all connected flash drives on a machine..BUT some drives list as fixed and not removable...
So I thought I could provide a combo box with a list of all drives and their friendly names....Lexar USB...or Iomega Zip or whatever but I can't find a method to do this.
This one has me stumped...any ideas anyone
...Mark
"The glass isn't half
-
- Object Reference Error?
by C&#35;Newbie01
- 14 Replies
- Last post
by jrboddie
- I just got the following error, and can't figure out what caused it. I can't even see my project... Can someone please tell me how I can fix this I greatly appreciate it. I'm very nervous... Thanks.
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
-
- Suggestions for a future Visual Studio ui
by L M
- 3 Replies
- Last post
by einaros
- 1. Bookmarks for browsing sourcefiles. You need a "Scroll bar with history or bookmarks" control. I was adding some functions at the end of the file and putting declarations and other things near to the top of the file and noticed that going back and forth could be easier. 2. F1 online help works now, good. But very often it finds some irrelevant info. Like wrong api or wrong language. M
-
- Connection to MS Access
by Rodyo
- 5 Replies
- Last post
by Martin Xie - MSFT
- Hi
I'm new here and really just starting out on database programming using VB express. Previously I've used Delphi so I'm experiencing transition pains. Here goes anyway!
I've successfully created a basic program connecting to an Access database which allows me to navigate, delete, create records etc. So far so good. Here are the relevant connections.
con.ConnectionString = "PROVIDER
-
- How to use C++ to control the cursor movement instead of using mouse (VERY URGENT!)
by King Yip
- 4 Replies
- Last post
by zsbMich
- I'm a year one student and a beginner of C++ language. I have a BIG QUESTION about my school project which mentioned below.
I want to know how to control the cursor movement using Visual C++. The purpose of my project is that when a computer receive a signal from the usb port, then the cursor move. The movement of the cursor depneds on the signal which computer receive( Actually it is a mouse
-
- printing with cout
by Ehud Orian
- 10 Replies
- Last post
by Ehud Orian
- Hi,
I'm trying to print using these lines:
Code Block
cout << "\n\n Hello world 1\n\n " << endl;
printf( "\n\n Hello world 2\n\n" );
It is compiled without errors but when running, none of these lines is printed to the Output window. what is wrong
Thanks,
Udi
-
- If...Then for an image
by Matt354245
- 3 Replies
- Last post
by Dave299
- I don't know if I'm jsut doing something stupid wrong, but for some reason, I can't get this to work. I want something like...
If PictureBox1.Image is My.Resources.picture Then PictureBox2.Image = PictureBox1.Image End If
The problem lies in the If statement. It doesn't seem to register. Basically, I want a way to say "If this picture box is of this&n
-
- login form
by Ultimate V
- 8 Replies
- Last post
by Ultimate V
- how do i tell a button to cheak whats in the username text box is equal to what is in a users table database
if you know what i mean...
-
- Saving Strings and Integers
by Ravencraft
- 10 Replies
- Last post
by LoD94
- I am well awair that this has been asked about 25 times, but am not following this at all.
Simply, I'm trying to save some Integers and strings that the user types into my program. With my experence in qbasic (write statement), what would be the easiest for me to use, and yet be able to be reused in the case of a game application in other forms and / or applications.
First, I just need a rea
-
- Lesson #4 - Development
by ReneeC
- 14 Replies
- Last post
by ReneeC
- Sometimes the idea of using the debugger, can be intimdating to those unfamiliar with them.
This is a tutorial based in a standard piece a source code that we will supply for the purposes of this tutorial. We're going to make a cheap MP3 player. I hope this tutorial is highly interactive and constructive.
Needed Ingredients:
1.) A test directory with about 4 mp3 files. Make them as shor
-
- missing vcvarsall.bat file
by Patrying
- 0 Replies
- Last post
by Patrying
- I am brand new to this. I accidentally deleted the vcvarsall.bat file. Is there anyway I can get it without reloading the entire program
-
- help with saving please
by ps1terry
- 5 Replies
- Last post
by ps1terry
- Ok i am trying to save all the text that i put in and that the program returns but i can only get it to save one of the textbox files please help. [code] Public Class Form1 Public filepath As String = "" Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
-
- The set color doesn't return to default backcolor!
by yem
- 1 Replies
- Last post
by nobugz
- I set my RichTextBox "ReadOnly = false;".
Then the color became light gray.
And then I set the ReadOnly property to true, but the backcolor is still light gray.
Why the backcolor doesn't return to former white color
And How should I do to return it to the default color
Thanks
yem
-
- Following item failed to download
by Dave27
- 7 Replies
- Last post
by Andreas Johansson
- Setup has stopped because the item listed above could not be downloaded...
It dows that trying to install any Visual Studio Product.
-
- Collapsible Menus
by W1lk0
- 4 Replies
- Last post
by W1lk0
- Does anyone know how to add a collapsible menu to a form, similar to the type found in Outlook Looked all over the net and in books and various other places, but I can only find them for web applications and not windows apps. I added a vertical toolbar and had a mess about with that, but i'm pretty sure i'm on the wrong tracks with this idea. Any help would be very appreciated. Thanks
-
- How to add DirectX AudioVideoPlayback to installation?
by shemtheo
- 2 Replies
- Last post
by shemtheo
- I have an application which uses DirectX AudioVideoPlayback to play MP3 files. However, when my friends test out the download it won't work because it says they need to have the DirectX AudioVideoPlayback before the application can work.
Does anyone know how I can include the DirectX thingy along with the application so that it downloads it automatically if the downloader doesn't have it a
-
- Limiting CPU usage
by Evoluator
- 14 Replies
- Last post
by Evoluator
- Hi; I am trying to limit the percentage of CPU usage that my application consumes, I am wondering if there is any code to do this in VB Say as an example, I want to limit the CPU usage of my application to be %15.4, so when this limit is exceded the application pauses then and when below the limit the application would continue. Thanks for your help
-
- determining activerow in Spreadsheet Web Component
by Jon1s
- 14 Replies
- Last post
by js06
- hi, i can't determine the active row using this web component there doesn't seem to be an activerow /activecell command to return that integer does anyone know how i've got this but it always returns 1 no matter what row i have selected
Code Snippet
Dim i as integer i = Me.AxSpreadsheet1.ActiveSheet.Cells.Row Thanks! P.s Does anyone know of any good information on this componet
-
- 4 lines of code = error LNK2019: unresolved external symbol
by blinkkoenkamp
- 8 Replies
- Last post
by Bite Qiu - MSFT
- Code
#include <iostream> using namespace std; int main(){ return 0; } I am working with VC++ 2005 Express Edition and am attempting to resolve the following error caused by this code above. The error is resolved if I remove the line #include <iostream> Any suggestions would be greatly appreciated.
Output
1>------ Build started: Project: test, Configuration
-
- Adding Number in VB
by Decimator
- 14 Replies
- Last post
by ReneeC
- I need VB to add a series of values which are stored in text boxes. The code which i am using is: txtTotalQ.Text = txtQuantity1.Text + txtQuantity2.Text + txtQuantity3.Text + txtQuantity4.Text + txtQuantity5.Text + txtQuantity6.Text However it doesn't actually add the numbers up, it just combines them together For example instead of 10+10 = 20 I get 10+10 = 1010 I know their is a basic solution to
-
- Where to place SQL Statements in VB code?
by Jon1s
- 8 Replies
- Last post
by Jon1s
- Hi,
I know how to create a SQL statement but how do i use this in VB code i.e.
when i put it straight in it causes errors so what is the syntax to incorporate it
Sub Main()
Code
SQLtext = INSERT ......
'How do you incorporate the 'SQLtext' into the code
End Sub
Thanks,