-
- HasMorePages Hell
by Bernardo Salazar
- 12 Replies
- Last post
by JohnWein
- Hi everybody... (me again with printing questions...)
I have a printdocument, that uses a very complex group of queries and calculations. so, exit the printpage event, to print a second page, are near to impossible, since that approarch needs to make again all the calculations and queries for the new page. Exists another way to do that (a second page) without exiting the event
Thanks
-
- Space bar
by WalangAlam
- 7 Replies
- Last post
by ReneeC
- These codes allow only alpha to be entered in textboxes for Names but does not also allow the use of Space Bar. How will i make it accept space bar input so i could place spaces in the Names Im not familiar with keycodes and keychar, I was familiar with keyascii in VB6 could you give me a reference like Enter = Keyascii 13 in VB.NET. Private Sub NAMETextbox_KeyPress(ByVal eventSender As System.Ob
-
- intptr to array?
by JohnWein
- 28 Replies
- Last post
by JohnWein
- I need an IntPtr to the first element of an array. Something like:
Dim MyArray(100) As UInt32
Dim MyIntPtr As New IntPtr
MyIntPtr = AddressOf MyArray(0)
How do I do it
Added the following in edit:
I want to pass the array to an unmanaged function rather than Marshall.C
-
- FileSystemWatcher Get Process Name
by resti
- 2 Replies
- Last post
by Martin Xie - MSFT
- Hello to All,
Is there any way I can get the process or application name editing the file when FileSystemWatacher fires it's changed event
Please help,
Many thanks,
Resti
-
- How to return MessagBox result
by bslim
- 2 Replies
- Last post
by rauhanlinnake
- Hi all,
I had a message box button OK or cancel.
MessageBox .Show( "Confirm Device " + cboDevice.SelectedItem, "Confirm" , MessageBoxButtons .OKCancel);
May I know how to return the result whether a OK or Cancel button is click
Thanks
-
- Updating a Access database from lables
by Info Commando
- 3 Replies
- Last post
by Info Commando
- HI,
I cant seem to get this rite! Im making a time clock program, and I want the labels that display the clock in / out times to update their text to the database. I have tried a few ways and I cant get the desired outcome can someone help a new coder It would be greatly apreasheated!
-
- converting html to xml
by ron nash
- 4 Replies
- Last post
by ron nash
- Hi,
I need some help please.
I have a web page that is dynamicaly created by a server side cgi script. The page contains various counter readings that I need to extract, so I can then use them within my VB code.
The following is taken from the html code for one of the counters on the page. I need to extract the 256096 from the page.
Is there a way I can convert the html con
-
- Manually changing location of a Form in Minimized State / Form.ShowInTaskbar=False
by Behrooz PB
- 6 Replies
- Last post
by Dave299
- I need help on a problem as bellow: I have Form1 that the Form1.ShowInTaskbar property set to False , After click on the minimized box when the form is in normal state it goes down and locate in the bottom - Left of my screen (excactly above the windows start button). I Want to change the location of this little title-bar. I have written the code bellow in Form1.move event but it is workin
-
- Create standalone EXE
by Mike.R
- 4 Replies
- Last post
by Mike.R
- In VB6 I would create a module then make a exe file out of it, copy it to my server and schedule it to run at a certain time. I am now using VS2005 (express). I had to make changes to the file but do not see the option to create the exe file. I can publish the current file to the server and it makes the install, manfest and application files. The application file will run if I just click on it but
-
- Link a managed (C++) dll into a ATL (MFC) project
by WilWest
- 9 Replies
- Last post
by WilWest
- I have created a C++\CLI (/clr) dll that wraps a C# class from a C# dll and I have an ATL (MFC) project. I try to link the C++ managed dll into the ATL project so that I can use the C++ wrapper class. However I keep getting the following linker error. Can anyone tell me how to resolve this error
1>Linking...
1>..\bin\x64\Debug\CopyProjectMLtoCS.dll : fatal error LNK1302: only supp
-
- Problem using IMAPI2 to write files to CD\DVD
by johng4etm
- 3 Replies
- Last post
by JohnWein
- I am trying to write a collection of files to CD\DVD using IMAPI2. I have installed KB932716. My OS is XP(SP2).
I have created the following code from a VB Script (which works) but am getting the error
Member Not Found(Exception from HRESULT: 0x80020003 DISP_E_MEMBERNOTFOUND)
at the statement
dataWriter.recorder = Recorder
Can anybody tell me what I am doing wrong
-
- Split and Join functions
by Steev
- 4 Replies
- Last post
by SJWhiteley
- I can used these functions ok but I have a problem with delimiters - how many. the format of the strings I use occasionally change so it's not possible to write code for every possible combination (there might be some I haven't thought of) so how can I write the code to extract what I want instead of removing the bits I don't want
For example: 2 - 45 - 456 - 5432
2-45-5432
-
- On Checked display another image
by johnb01
- 1 Replies
- Last post
by Figo Fei - MSFT
- Hi there :) Was wondering if it is possible to change the image of a Toolstrip button when it is CheckedOnClick as True I've tried starting it like that but im lost at the very start of it :S Here is my starting code: private void mnuLeft_CheckedChanged( object sender, EventArgs e)
{
mnuLeft.Image = Reminder.Properties.Resources.left_over;
} This works but when i click on it again
-
- VB Browser
by itsryan
- 5 Replies
- Last post
by Andrej Tozon
- I am making a Internet browser and I have run into some problems. I would like some help some someone here. Ok, The problem I have right now is that I would like it, when you hit the enter key after you type in a address in witch you what to go, that it will take you to the site. I do have a button for going to the address but I would like to make it easier to get there. This is the code I have no
-
- evaluate mathematical expressions
by seco
- 8 Replies
- Last post
by seco
- Hi i see alot of mathematical expression parsers on the web i need one that can solve function which in 2 variables like ex. 2y=3x+sin(y)+6 and after evaluating this expression it gives me the value of x and y in this function note(all parsers just evaluate usual math expressions but i need to solve this function above to return both x and y) i don't know which parser on the web can do this if any
-
- debug assertion error in threads of c++ under windows
by Pushpa Kumari
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Hi All,
This my part of the c++ program using threads in windows :
//modified by pushpa struct structExrdDoc { CExrdDoc* spDoc; LPCTSTR sstrFileName;
structExrdDoc():spDoc(NULL),sstrFileName(""){} }; structExrdDoc sp;
volatile bool running;
UINT CExcelExport::run(LPVOID p) { CExrdDoc* me = sp.spDoc; me->OnSaveDocument ((LPCTSTR)sp.sstrFileName); running = FALSE; return
-
- Academic Licence?
by vbnOOb
- 2 Replies
- Last post
by vbnOOb
- Ok, i am a student in the UK and have seen this:
(Visual studio 05 academic edition)
http://www.dabs.com/productview.aspx Quicklinx=3YHK&CategorySelectedId=11164&PageMode=1&NavigationKey=11164,4294957493,4294956218,50310,11
can i just buy this and use it or do i need to speak to my college
i didnt need to for office 2003 student and teacher.. thanks
-
- help with combobox
by y moose
- 3 Replies
- Last post
by spotty
- how do you get a value or string from a combo box
example
if in the combo boxes collection there are AM and PM how can i get it to add that to my date string
date.text = txthours.text & ":" txtmins.text & ":" txtsec.text & ampm
where ampm is a string containing the choice from the combo box
-
- Second Option wanted
by _Nightblade_
- 8 Replies
- Last post
by _Nightblade_
- I want to finnish my program with a option in language.
Butt i only now a way like rebuilding everything again,
in the differant language.
is there not a differant way to solve this
Nightblade
-
- How do I start Visual Basic?
by Bob90
- 2 Replies
- Last post
by ReneeC
- I have installed VB2005 Express but there's no .exe file. Plz, tell me, where can I get it, or how to start the program without this file.
-
- Marquee on Progress bar not moving.
by David Ison
- 5 Replies
- Last post
by David Ison
- Hi All, I have this code:-
Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles removelaptopcrog.Click
Dim CopiedOk As Boolean = False
Me .Cursor = Cursors.WaitCursor
removelaptopcrog.Enabled = False
ProgressBar1.Style = ProgressBarStyle.Marquee
ProgressBar1.Update() ' ask it to update itself
Dim currentu
-
- Use DLL from C#
by ssamayoa
- 2 Replies
- Last post
by abelegreen
- Could some one can point me to where can I see and learn how to use a DLL (not an automation object) written in some other language (such C or Delphi) from C# Regards.
-
- Picture Box and File Types
by Wibs2
- 3 Replies
- Last post
by bdbodger
- Hi, I have tried searching the various help files for a list of all the graphic file types that will display in PictureBox, but it is far from clear. I then looked at the Initial Image property, and saw that the 'Files of Type' listed the following: *.gif, *.jpg, *.jpeg, *.bmp, *.wmf, *.png A few questions, a) Can anyone confirm that this is the definitive list b) Can anyone suggest the best way t
-
- Inheriting a forms class
by BestBefore
- 5 Replies
- Last post
by BestBefore
- Following the instructions in KB 311318 - How to create a Key property for a TreeView node in Visual Basic
http://support.microsoft.com/kb/311318
I have a problem with the following line of code in the userdefined module - it throws the exception below.
Public Class TreeViewEX
Inherits System.Windows.Forms.TreeView
End Class
Base class 'System.Windo
-
- Application + BackgroundWorker
by obrienkev
- 3 Replies
- Last post
by Ji Cheng Wang - MSFT
- Hi,
I want to display an image in the Datagridview based on the data. I use the CellFormatting event. However, this causes the application to become very slow to use.
What is the best way around this I have been looking at the BackgroundWorker but not sure if that will solve it for me.
Code Snippet
private void myDataDataGridView_CellFormatting( object sender, Da