|
The PictureBox should have a property to access the bitmap object. Does that object have a GetPixel method ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
More detailes with an example
if you please
|
|
|
|
|
i found the command for the date which is %D
But wat is the command that i use to increase the number of my item??
like item 1. XXX 2. XXX 3.XXX
I want to have the couting number when eevrytime new item show in my data report...?
anyone have the full list of the data report command?
|
|
|
|
|
hello!
I'm creating an application that reads a DBF exported from a ARCview 3. I was able to run a query using a VisualFoxpro provider.
The problem was, there are times when the exported DBF files contain duplicate fields, then an error occurs.
I can't connect to the same DBf using MS ACCESS, is there a way to access tne tables in a low-level manner, say to be able to rename the fileds.
My idea is to identify the fields via index since I can't aidentify them by their names and attach an incremental values to the name of the fields. um.. anybody know how to do this.
U Xux
|
|
|
|
|
Hi,
first of all those DBF files are corrupted. It's not within the spefications of the format although I know that there are several ways to create such files. The only way I found to read such files was very lowlevel. Have a look here[^] or here[^]. Those sites describe the whole format of DBF files. Given this information you can either read the data yourself or just change the columns names so that each one has a unique name.
Robert
|
|
|
|
|
exactly what I needed.!
I appended a number series to the fieldnames. pretty dissapointed by the limited size of the fields. SO I had to truncate some of the letters. After that I was able to connect to it Using the VIsualFOxfrom Oledbprovide - it works !
Thank you.: -D
U Xux
|
|
|
|
|
Please help me.
I'm using VB.Net 2003. i need to make just like a taskbar on my mdi documents. So i can make my own buttons to choose which windows need to to be active.
-- modified at 20:20 Thursday 3rd August, 2006
|
|
|
|
|
Do you mean a toolbar?
Steve
|
|
|
|
|
Yes Steve,
Toolbar , because I'm using the MDI control and the parent will contains different child form in it. I think I need to popolate buttons bellow to specify which child form is active. And to do that only toobarbutton is all I know. And if I right click the button, then chhose closed[X]; also the child window or form will be out of that screen. Only the remaining child form and it's corresponding button will remain. Please help me how.
Thanks.
Ariel
|
|
|
|
|
Each Toolbar has a ToolBarButton collection.
Are you using Visual Studio?
Look up the help for 'ToolBarButton'.
You use the Add and AddRange methods to add buttons to your toolbar.
Steve
|
|
|
|
|
can i set the datareport
in vb6 with the recordset object that use DAO 3.51
dim rs as recordset
set rs=db.openrecordset("select * from table")
set datareport1.datasource=rs
the debuger tell me that the datareport1 can not be set
can any one help me please
thanks
BE OR NOT TO BE
|
|
|
|
|
Datasource is a string, no?
A man said to the universe:
"Sir I exist!"
"However," replied the Universe, "The fact has not created in me A sense of obligation."
-- Stephen Crane
|
|
|
|
|
i want to pass values from a form into a class and then retreive those values from the class and display it on a new form? Can you please explain to me how i should go about it? thank you
Nothing lasts but nothing is lost
|
|
|
|
|
Solly74 wrote: i want to pass values from a form into a class
You do know that a form is just a type of class. So what you are saying is: I want to pass values from one class into another class
Anyway, this article[^] might help.
|
|
|
|
|
no i retreived values from a table in a datagrid and assigned it to properties of a class. now i want to take those values and display them in textboxes on a new form. thanks
Nothing lasts but nothing is lost
|
|
|
|
|
Is the class public?
Do you just want to pass values from Form1 and display them on Form2?
Steve
|
|
|
|
|
no i retreived values from a table in a datagrid and assigned it to properties of a class. now i want to take those values and display them in textboxes on a new form. thanks
Nothing lasts but nothing is lost
|
|
|
|
|
So the values are in a dataset table?
If so, just get them out of the dataset.
If they are in a class, have you used Properties with Get/Set?
Are the properties public or shared or are they private?
If you can explain in a bit more detail, we may be able to solve your problem quicker...
Steve
|
|
|
|
|
its in class yeah. so now i want to retreive those values onto another form, the properties are private yeah!
Nothing lasts but nothing is lost
|
|
|
|
|
and yeah i used get/set for the properties
Nothing lasts but nothing is lost
|
|
|
|
|
If they are private, only methods of that class can access them.
Are you inheriting from this class? If not, you will have to put them in a public variable or Array to access them in another form/class.
Steve
|
|
|
|
|
nope no inheritance, so im gna try an make the properties public an check. thanks
Nothing lasts but nothing is lost
|
|
|
|
|
OK. Well if that works, you should then alter the keyword to the least access required. Maybe 'Friend'.
Depending on what you choose, you may have to qualify the property with the class name e.g.
classname.property
Public properties are accessible even outside your application which presents a security issue. Only use public if you want them to accessed in this way.
Steve
|
|
|
|
|
just tried it now, didnt work. the textboxes appear empty on the new form
off the topic, can u give me a theoretical answer to how one would solve concurrency errors please.
thank you
Nothing lasts but nothing is lost
|
|
|
|
|
If the form/class is closed/terminated then you will not be able to get the properties. They will need to be initialised first.
Why are you putting them in a class?
What concurrency errors are you getting?
Steve
|
|
|
|