-
- Disappearing drawings
by Richierich5701
- 1 Replies
- Last post
by JohnWein
- Hello again!
I am using Graphic.DrawRectangle and Graphic.Drawline to create graphs - sadly, however, as soon as I do something like activate a combo drop down that goes over the surface area of the graph, my image gets destroyed.
Is there any way that I can make my drawing permanent on the form so that it isn't destroyed by other objects appearing then disappearing over its surfac
-
- It's about a link error in a C++ console application
by pcesarfe
- 2 Replies
- Last post
by pcesarfe
- Hi People!
I need a help to solve the link error, I show up after the application's code, in a linker's bild log:
Why that link errors
Annuity.cpp
#include "PresVal.h" #include <conio.h> #include < iostream> using namespace std;
int main() { cout <<"*******************************************************************" <<endl; cout <<&
-
- Visual basic express
by Albel
- 6 Replies
- Last post
by Albel
- How do I download on a correct way visualbasic express for windows vista. I have been trying according the website but it does not work like it should. It is not possible to create a new sql database, or use the reportviewer.
-
- im trying to make a vsC++ library/dll that can work with c#.net and VB.net
by wreakaildron
- 3 Replies
- Last post
by Bite Qiu - MSFT
- ive tried to import my library/dll into c#, and none of the functions come up. are there any resources on the internet for me to read about making a library/dll from c++ and have it work in c# and vb .2005
-
- Printer resolution dependent upon screen resolution.
by JohnWein
- 1 Replies
- Last post
by JohnWein
- I have a program that draws lines on paper. When I have my Screen resolution set to 96 DPI, a printed 6 inch line is 6.25 inches long. When I set the Screen resolution to 100 DPI, the printed line is 6 inches long. How can I control this behavior of PrintDocument Without changing this behavior, my printout will be dependent upon the Screen resolution of the computer my program is running on.
E
-
- IDictionary value accessing problem
by Kapalic
- 3 Replies
- Last post
by jo0ls
- Code Snippet Dim outputParams As New Hashtable() Dim param As SqlParameter For Each param In command.Parameters If param.Direction = ParameterDirection.Output _ Or param.Direction = ParameterDirection.InputOutput Then outputParams.Add(param.ParameterName, param.Value) End If Next param Return outputParams
This is a section
-
- Zip like file format
by Amrykid
- 14 Replies
- Last post
by Amrykid
- hi all, i want to make a zip-like file format that the user has to download my app to extract it.
i need a code for making, extracting, and reading the file. This file format is .BZP
-
- How can I insert my program to the msconfig startup list?
by yanivpinhas
- 14 Replies
- Last post
by SJWhiteley
- Hi,
I want that the user will run my program ones
and then the program will run automatically when the user
is turn on the computer.
How can I force that my program will start before other
program that in the list(when the computer start)
If I can run my program automatically only 1 restart
Best Regards,
Yaniv Pinhas
-
- 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
-
- Download and Install Not Working
by R Forest
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I downloaded VBSETUP.EXE and when I "Open" it, a bunch of files are copied to a temporary folder, and eventually I get to the Download and Install Progress screen, which contains the following lines: The following items are being downloaded and installed on this computer: Microsoft .Net Framework 2.0 Visual Basic 2005 Express Edition Currently downloading (1 of 2):
-
- initialization failed 0xc0150002 error
by paintok
- 2 Replies
- Last post
by paintok
- I'm trying to compile my MFC project in visual c++ 2005, at first compilation its run smoothly..but when I tried to compile and run the project again I got this error "application failed to initialize properly (0xc0150002)".
I reinstall my visual studio thinking that the error is on the software but when I try i again with the new installation I got same error message.
What cause t
-
- combox box is not saving a new item added to its collection programatically.
by curiousEngine
- 3 Replies
- Last post
by TilakGopi
- hi. i am using a new form in order to a new brand item to my cbo_Brand. here's the code: Private Sub bttn_Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bttn_Save.Click frmMain.cbo_Brand.Items.Add(txt_NewBrand.Text) frmMain.cbo_Brand.Update() MsgBox("New brand has been succesfully added!", MsgBoxStyle.Information, ProgramTitle) Me.Close()
-
- fast way to load imagelist??
by snake310
- 2 Replies
- Last post
by snake310
- Hi
I have tried a whole bunch of stuff to speed up loading time but i dont know that to do.
I have a listView that uses an imagelist , the problem is that i have more than 2000 images and it takes time to load them all with this line of code
for ( int i = 0; i < myTemp.Count; i++)
{
imageList1.Images.Add( new Bitmap (myTemp ));
}
Dose anybody know something that could h
-
- Connect to .DBC file
by Mash_2k
- 1 Replies
- Last post
by Martin Xie - MSFT
- Good day! What do I have to do to connect to a Visual Fox Pro 7 database with VB 2005 EE I really need help. Thx!!!
-
- How to: XML into ArrayList
by David_Wright
- 3 Replies
- Last post
by Figo Fei - MSFT
- Could someone explain (preferably with code) how to read an Xml into an ArrayList using C# I have read over 100 pages, with everyone doing slightly different things and taking different approaches to this. I have the following (named 'DavidsBooks.xml'): ------------------------------------------------------------------------------------------------- < xml version='1.0' > <bookstore> &l
-
- Random Access File
by rweatherly
- 4 Replies
- Last post
by rweatherly
- I am converting VB code to VB Express, and I need to open a file for random access, and read one character at a time from it. Thanks, Richard
-
- Comparing two Bitmaps
by Wibs2
- 6 Replies
- Last post
by NateNate
- Hi, If I have two bitmaps in memory, say bitmap01 and bitmap02, and I want to compare them to see if they are identical or not, could I do it with a simple If statement, like this If bitmap01 = bitmap02 Then MsgBox("Both bitmaps are identical") Else MsgBox("The two bitmaps are different") End If Have a great weekend Wibs
-
- Using an Accept Button within a TabControl
by Jetpilot86
- 5 Replies
- Last post
by DMan1
- I have a form that contains a tabcontrol.
When I press the enter key, I'd like the tab to activate an accept button within that particular tab.
I know how to set the Accept button at the form level, but not within individual tabs.
Code or menu routings please.
Tried TabPage2.acceptbutton = btnCalculateFlop
Where TabPage2 is the Tabcontrol page, and btnCalculateFlop is the butt
-
- Add new datasource error
by robert579
- 6 Replies
- Last post
by robert579
- In VB 2005 Express, when I try to add a new datasource I get the following error:"The system cannot find the file specified". This tells me nothing!
History....
I have a current project that uses a database and it now can't connect to the Access db. I created a new test db and it can't add the new datasource. I started a new project and when I try to add a new datasource that link
-
- Missing _input?
by Dan987
- 14 Replies
- Last post
by Dan987
- I got some old source code that uses _input(), but when I try to compile it, it says : Error 1 error LNK2019: unresolved external symbol __input referenced in function _sscanf1 In source, it is: int __cdecl _input (FILE *infile, const char *format, va_list arglist ); retval = (_input(infile,format,arglist)); I know this compiles in VC6, and 7, but it will not in VC 8 EE. Can someone point me t
-
- Using VB 2005 Express to find a specific cell in Excel 2000
by Bort1980
- 5 Replies
- Last post
by Bort1980
- Hi all, I have an application which gets it's data from an Excel 2000 workbook. Yes, I could have used SQL, or Access but Excel was requested to make changing the data very simple for someone who only vaguely understands MS Office. The way it works is that, based on a number of choices in radio buttons and listboxes, the program will give you a selection of choices in ListBox2. When you select one
-
- Full graphics demo built in Visual Studio 2003.
by Nate879
- 5 Replies
- Last post
by Spidermans_DarkSide - VSIP
- How do you convert a color to a pen This does not work:
PenFromColor As Pen = System.Drawing.SystemPens.FromSystemColor(Color.Blue)
That causes this error: "The color Color [Blue] is not a system color." Why is this error generated How do I convert a color to a pen
-
- Encryption?????
by MazterzDemon
- 28 Replies
- Last post
by MazterzDemon
- Im try to make a simple app to encrypt files from large Mpegs down to Txt files..
ive been through several tutorials, tons off posts and like 10 Code samples and no matter what i do theres always unfixable errors, or the app just doesnt work...
....
heres just a couple of things i tried...
Code Snippet
Sub Encrypt( ByVal inName As String , ByVal outName As String
-
- Plot real time graph using data read from serial port
by wencey
- 10 Replies
- Last post
by ReneeC
- I read some data from serial port and i store it with buffer.Add(final). I later would like to take the data from buffer and add it to another new list which is yvalues, data inside yvalues are the what that would be used to plot the real time graph (plot one point every second), yvalues.add (buffer) certainly not going to work..What is the right way of solving this problem
Private buffer As
-
- Can't install Visual Basic 2005 Express due to download error ( CheckTrust.VerifyTrust Failed )
by WalterA
- 2 Replies
- Last post
by WalterA
- I have tried multiple times to download and install Visual Basic / Visual Studio with the same result on two different computers. The download fails to install. I have disabled virus and spyware checkers and have also set my DSL Router firewall to a low protection level. These changes have not altered the outcome. The failure comes after about 38MB of download. The pertinant portion of the file dd