Search:
Type: Posts; User: slcotten
Search:
Search took 0.04 seconds.
-
March 15th, 2003, 09:09 AM
Just wanted to say I got it working! I was trying to get the number of scroll lines for a mouse wheel "nitch". The code is below... it's convert from a sample in the Microsoft SDK.
Public...
-
March 15th, 2003, 07:39 AM
Hmm... I guess CopyMemory Win43 API is would do the trick??? Going to try it and we'll find out. The destination is an osversioninfo structure.
-
March 15th, 2003, 07:28 AM
I am trying to convert some C++ code to VB and it involves the use of the memset function. What is the equivalent VB function or would this be an API function?
Thanks!
-
December 24th, 2002, 10:26 AM
Well, thanks for the replies everyone! I think it will be a great help when I start to learn this great and wonderful language. :)
I guess, as TheCPUWizard said, the goal of learning is that I...
-
December 24th, 2002, 08:49 AM
Hi,
I'm not a C++ programmer, but have been programming in VB for a while now. I was looking at switching to C++ so I was visiting this forum. You may not appreciate a "newbie's" response, but...
-
December 24th, 2002, 08:37 AM
By "Win32 fundamentals" do you mean window messaging, processes, threads, etc??
-
December 24th, 2002, 08:24 AM
Hello,
I have been a VB 6 programmer for over two and half years now, and finding that I need to know more things about C++ to move on. I know about enough to read header (*.h) files for Win32...
-
September 12th, 2002, 08:27 AM
Hello!
I am a developer with over two years of programming experience and over four years in advanced IT matters. My areas of expertise reside in Visual Basic, ASP, and database development. ...
-
October 11th, 2001, 04:23 PM
Does anyone know if this would be a proper VB translation of the C++ code in the previous post?
bmp.bmWidthBytes = ((bmp.bmWidth + 15) And Not (15)) / 8
-
October 11th, 2001, 02:56 PM
Ok... but what does the &~ in this code mean? I know that ~ is a unary operator but how would you port it to VB?
bmp.bmWidthBytes = ((bmp.bmWidth + 15) &~15)/8;
Thanks!
-
October 11th, 2001, 08:34 AM
Would the first line be translated like this?
Call BitBlt(ps.hdc, prect.Left, prect.Top, (prect.Right - prect.Left), (prect.Bottom - prect.Top), hdcScreenCompat, prect.Left + xCurrentScroll,...
-
October 11th, 2001, 08:31 AM
How would the following to lines of C++ code be translated to VB? Particularly the -> and &~ symbols?
BitBlt(ps.hdc, prect->left, prect->top,
(prect->right - prect->left),
...
-
September 28th, 2001, 08:00 AM
Oooppss... the correct code for the previous post is this:
nCount = 1
Open FileName for binary as #nFileNum
Do
ReDim Preserve g_MyArray(nCount)
-
September 27th, 2001, 03:03 PM
Thanks for your reply.... However I must have been unclear in my question. When adding the Array items (hereafter called records) using Statement Put to the file it adds them according the last...
-
September 27th, 2001, 02:26 PM
Hello....
I have a array of a user defined type that I am adding to a file like this:
Open FileName for binary as #nFileNum
for nCount = LBound(g_MyArray) to UBound(g_MyArray) step 1...
-
September 10th, 2001, 05:32 PM
Hi...
I have two issues. First, how might I add file headers to a binary file? I have to write multiple variable lenegth records to a file but I would like to add some header info before that. ...
-
September 10th, 2001, 01:28 PM
Right...
I just relized that I was trying to set the value BEFORE I added the listitems :-) DUH...
Thanks.
-
September 10th, 2001, 01:27 PM
Try this example
http://www.planetsourcecode.com/xq/ASP/txtCodeId.10588/lngWId.1/qx/vb/scripts/ShowCode.htm
-
September 10th, 2001, 12:12 PM
Are you using the XML 3 Parser?
-
September 10th, 2001, 09:37 AM
Hi....
I have several comboboxs on my form... all of them with style property 2 - DropDownList. I read in MSDN Library that when that was the case the text property was read-only. However, on...
-
September 6th, 2001, 12:24 PM
' These are the basic funcions that write to the
' registry... additional functions are used to open keys
' Where ValueName = the registry value name and
' Setting = the value we are writing to...
-
September 6th, 2001, 10:15 AM
Ok Say I = 0 and we add it to the registry as a DWORD value. The decimal value of the DWORD is now 48. Now we want to retrieve it from the regsitry as long and then convert it to Integer using...
-
September 6th, 2001, 08:58 AM
How do I convert an integer value to a DWORD value?
-
September 4th, 2001, 09:47 AM
Hi...
I have two questions both having to do with Listview and Treeview. First, is there anyway (such as with APIs, etc) to have flat scrollbars in the treeview such as is available with the...
-
August 26th, 2001, 04:01 PM
Hello....
Does anyone have any ideas on how to implement an undo option in my program. A revert is simple enough but this is the first time I have ever wanted to use undo to reverse changes made...
|
Click Here to Expand Forum to Full Width
|