-
- help printing a datadridview from a form
by Adriano72
- 12 Replies
- Last post
by Adriano72
- Hi it's me again.
now i've a problem with the printing method, i've spent a lots of time reading posts on this forum, but now i've more questions than before.
so I need to print a datagridview filled in a panel, this datagridview is populated manually by some data(text), no more
so i load the printdocument from the tools, the printdialog, but i don't know how to tell the printdocument(e
-
- Location of mousepointer (complicated)
by Fata1Attack
- 4 Replies
- Last post
by IsshouFuuraibou
- Hi,
My problem is a bit complicated ( for me for sure):
Imagine you have a form called Form1 and a usercontrol called UserControl1 placed on that forum and in Usercontrol1 you place a picturebox called Picturebox1. When you click the picturebox you want to know the exact top location.
the following code is wrong because it will give me the top-value of the picture inside the userc
-
- Using Sounds from My Resources
by Raikou-Master
- 2 Replies
- Last post
by Raikou-Master
- Hi. I wonder if someone can help me. I'm having a problem getting the music coding working for my program.
You see, I'm trying to make my program so that instead of referencing external locations on my hard drive in order to load .wav files, the program imports them into the "My Resources" folder, so that when I go to publish the program, the music files are published along with the r
-
- about map mode?
by alunlee
- 1 Replies
- Last post
by Bite Qiu - MSFT
- If I have created a single-document application namedĦħ testĦħ and CTestView inherited from CScrollView, how can I change the view port origin Should I set the view port like this:
CSize s = GetTotalSize();
pDC->SetViewportOrg(0,s.height);
But the CScrollView: nPrepearDC() calls the SetViewportOrg too.
-
- How do file streams work?
by Evoluator
- 14 Replies
- Last post
by ReneeC
- Helloo,
I have a fundemental question about file streams.
The question is the following:
Given a files is already on the HDD, and a file stream is used to write data on the stream.
Would the following code change the value of the file on the exact location in the HDD or would it change the value of the file but on a different location of the HDD
Code B
-
- Progress Bar
by Whoisit
- 2 Replies
- Last post
by Whoisit
- Is there an article that shows how to make your own progress bar
-
- Remove Part of String
by obrienkev
- 3 Replies
- Last post
by nobugz
- Hi all,
I have a string like so... "thistest=56748"
~How do I delete this part of the string: "thistest="
Thanks.
-
- Report Viewer
by ron nash
- 3 Replies
- Last post
by ron nash
- Hi
Is there a report viewer for VB express, if so, where can it be downloaded from
ron
-
- Data grid view controls
by jenx222
- 14 Replies
- Last post
by jenx222
- How do i get the data grid view box to work in my application. For instance save data to a file and open data from a file, and get the copy, cut and paste controls to work in my application. e.g. the copy control in a RTB = rtb.Copy and the copy control for a html editor is HTMLDoc2.exeCommand("Copy"), what is this command in the data grid view box Can any one help
-
- Call C++ dll from VB
by Evoluator
- 1 Replies
- Last post
by ReneeC
- Hello 2 all, I don't know if this thread belongs to here or not, But I have a problem, and that is that I have a C++ DLL and I want to call it from VB. But there are many problems that I could think of: 1) C++ DLL that I am using is unmanaged. 2) I would almost die if I am told to rewrite the DLL, as the compiled DLL is about 2.5 MB. ( the source it something along those line!) 3) It is not depend
-
- Non .net GUI development
by MrsTickle
- 5 Replies
- Last post
by nobugz
- Whats the best way to write a GUI in 2005 Express I don't want to use .net as it so easy to reverse engineer.
There doesn't seem to be support for MFC.
I only need a simple drop down menu, textbox and label functionality !
-
- how to compare two images and return the result?
by yjtsai
- 14 Replies
- Last post
by yjtsai
- Hi, all, I want to compare two images. I read these two images into the bitmap class If I don't want to compare these two images by each pixel, how can I compare these two images thanks for your help!
Tsai Dim imagefile1, imagefile2 As Bitmap Dim result as boolean imagefile1 = New Bitmap("D:\temp\IMG_0315.jpg") imagefile2 = New Bitmap("D:\temp\IMG_0313.jpg") result = equ
-
- Intermediate window won't display debug.print text
by Gav979
- 3 Replies
- Last post
by uncm188
- This information isn't for me it's for a friend (yeh you all think its for me now i've said that) well it is any way for a college assignment we have to create a program that will write values and text to the intermediate window.
like you all, or should know you use debug.print(<text or veriable here>) but when my mate does that the text isn't printed I've even tried going line by line to
-
- How can I read data from a website?
by keren da
- 2 Replies
- Last post
by Martin Xie - MSFT
- Hi,
I'm writing a project in VB.Net and I want to get the up to date Currencies from a website. How can I do that
Thanks,
Keren.
-
- Mouse Click VB 2005 Express
by bmpol
- 5 Replies
- Last post
by Feng Chen - MSFT
- Hello All.
I am new to Vb 2005 Express. I am writing a program that connects to a web page, enters some login credentials and logs into the web page. My program works fine up to this point.
My cursor moves to some x,y cordinates. This also works fine. I need my program to generate the mouse click at the x,y cordinate.
I have no idea how to do it.
Any help would be appre
-
- Why does my program not show version and stuff
by Ben Sprinkle
- 2 Replies
- Last post
by ARMegos
- When you right click the .exe > properties, it doesn't show all the information like in VB and what not. Anyone know why this is so
-
- message box with OK and CANCEL buttons
by sankarganga
- 10 Replies
- Last post
by sankarganga
- i want make message box with ok and cancel buttons i am using vc# e edition
-
- Release version of .exe won't run on other pc's
by GJRoyce
- 14 Replies
- Last post
by GJRoyce
- I built my program and copied the .exe from the /Release folder of my project directory. This program won't run on any computer except the one I built it on. I thought updating the .NET framework on the other pc's would fix the problem, but the program gives an error about not being a valid program.
Is there some other dependency I'm missing
Is there some way to check what a program'
-
- Automatic question paper generation
by dd1000
- 1 Replies
- Last post
by Andreas Johansson
- Hi,
i am creating an online test engine..Question papers and choices are stored in the database.when a user login for the test, a question paper vl b generated(randomly questions are selected from database).How to code that in c#.
-
- Need help with a to do list
by Belisario93
- 7 Replies
- Last post
by Belisario93
- Hi, I've Been working on a to-do list for a browser I am creating, but I am wondering how to do two things: First of all, how do I make it so that when the user presses a button it will remove the checked items from the list I have been working on this for a while and I can't seem to find the answer. The next thing I am trying to do is make it so that the items on the to do list are saved every ti
-
- Syntax for default/interface members for Visual C++ Express 2005
by StevePO
- 3 Replies
- Last post
by StevePO
- Greetings, Hopefully a very easy question! In VB, if you define a member function to a class with the same name as the class itself, it can be used as a default interface/member for that class. Example: Class Foo-- Public Function Foo( vVariant as Variant) as Variant ... meat goes here... End Function Then, all over code you can have: Dim MyInstance as New Foo SomeValue = MyInstance("blah bla
-
- Printing in Web Browser
by paoloTheCool
- 4 Replies
- Last post
by paoloTheCool
- I've created a simple web browser, and now i want to beable to print with it, and im not exactly sure how to do that yet (which does create some sort of a problem :)) so anny help would be greatly appreciated :)
thanks,
paoloTheCool
-
- How do I do this with a class: ?
by Bryan01
- 14 Replies
- Last post
by jgalley
- I would like to create a class that will accept data and then use that data imediatly to put into a string or integer. What I want to do with this information is to create a dice rolling class. Send it the dice information (3d6; 3, 6 sided dice) and then give me the total rolled for all dice. Im not exactly how classes work but I would like it to work like this. DiceRoller.dice(3d6) = result = 13
-
- array of labels and other such...
by BadButBit
- 12 Replies
- Last post
by Solitaire
- hi,
I'm trying to create an array of labels dynamically. I used dim lblArray() as new label() and then I try to redim lblArray(121) as label but it complains about not using New for arrays and at the same time it tells me that there is no instance (null) and should use new.... I'm going around in circles. does anyone have an example
I want to be able to put these arrays on the same grbAl
-
- just wondering...
by y moose
- 1 Replies
- Last post
by spotty
- is it posible to open a message box in explorer like this is my code
Code Snippet
Process.Start("explorer.exe", msgbox("You_ win",MsgBoxStyle.OkOnly,"Winner!!")
i want it to open via explorer so that it wont matter if my program closes this window should stay up