|
Well, considering I only wanted to know "1 thing", and everything about an answer depended on that "1 thing", I only said one thing. But, as for your implication that that's all I do, you haven't really been keeping track... And if you have, I'd like to know who my stalker is instead of hiding behind an "Anonymous" post!
Anonymous wrote:
there's a comlete method for it .. if u wanna help then give complete help.. or else back out from this
Back out from what? Funny, I don't see you posting anything constructive, or even inquisitive, about the OP's post. On the other hand, if you are the OP and don't like the simple question I asked, KMA and point your browser over to Google! I didn't ask anything unreasonable...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
CallByName function make my application to be rick,how i can anti this function.
Plase tell the way,thank you for your help.
|
|
|
|
|
You can use an obfuscator to scramble your code to make it more difficult to do this, but you can't prevent it from being used at all.
Why would you want to di this anyway?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi there,wonderful guys.
i think i have to commend everyone in this judicious group for doing a nice and pleasing job.
hello,is there any body in this group who could assist me to use c++ and vb in writing program on clock which will be functioning exactly the way clock work.
pls i need respond to this question on time for the completion of a project i have at hand now,
you can as well email me for my better understanding.
thanks.
|
|
|
|
|
How to implement the following function:
If click the close button of a window, there will be a messagebox with two selections "YES" and "NO". If "YES" is selected, the window is closed as usual. If "NO" is selected, the application will return to the preivous window.
Thanks.
|
|
|
|
|
find the forms OnClosing event, and show a message box from there, if they press yes, just continue and if they press No, you can set e.cancel = True which will stop the form closing.
hope this helps
- Andy
http://www.guardian.co.nr
|
|
|
|
|
Andy, I got it. Thank you so much!
|
|
|
|
|
Glad to be of help
http://www.guardian.co.nr
|
|
|
|
|
Hello,
I just installed Microsoft .NET Framework SDK v1.1.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en)
I need to compile to a DLL a VB file which has a class with some functions.
I know that if I have Visual Studio 2003 installed I would do:
vbc /t:library /out:myFile.dll myFile.vb
Is vbc in Frameword DSK? I can't find it.
Thanks,
Miguel
|
|
|
|
|
Hi guys. I am making a software which also contains a screenshot grabber. I want to draw rubber band selection area box for it. That means I have to draw on screen. I have been able to draw boxes on screen anywhere but they do not get cleaned up when the mouse moves and a new box has to be drawn for that new location. Could somebody please help me out in this. Please remember not for drawing on the form; For drawing on the screen anywhere.
|
|
|
|
|
This[^] article shows how to get the desktop window using interop functions. If you're able to use interop functions, you should be able to use GDI functions as well. In GDI, you can draw using SRCINVERT, which means that your rubber band is created by inverting pixels in the box. Thus, you can undo this operation by doing it again before you change your co-ordinates, and no data is lost. Or you can just call Invalidate() on the desktop window so it refreshes itself before you draw your rubber band ( this could cause flicker )
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Thanx Mr. Graus,
Thanks for the help but I'm sorry I didn't specify that I am working in Visual Basic 6. I know how to get the desktop window's DC and methods to draw on it but during dragging the desktop DC doesn't refresh and doesn't clear the box last drawn.
|
|
|
|
|
I don't get why people still use VB6.....
In that case, this[^] is an article on rubber banding in C++, using different ROP codes. Basically, you select a code that is not destructive, then you draw your rectangle, and you draw it again to restore the old values before drawing a new rectangle elsewhere.
Or you could do the other thing I suggested, which is to Invalidate the desktop window, and force it to redraw.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I think I want to use a DataGrid on a form! What I want to do is have all data in grid "Readonly" and have a link button to open a separate form with all of the data from the selected row for editing: the form will open with the ID of the row from the DataGrid and the edit etc. is done here.
THis is much the same way as I use the asp.net DataGrid. Should I be using a different control or can the DataGrid be changed to do this?
Thanks in advance.
Declan.
|
|
|
|
|
a datagrid allow you to get the selected row (CurrentRowIndex() ) and to get each cell on that row (i don't remember the function name, but it might be something like CurrentCell() ).
then, you recover each cell you like, and pass them to the form that is supposed to treat'em
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
How would i get a list of all Active Computers on a network? All I need are
the computer names. Method that i am currently using lists all
computers even if they're not currently connected to the network.
Dim enTry As DirectoryEntry = New DirectoryEntry("LDAP://CORP")
Dim mySearcher As DirectorySearcher = New DirectorySearcher(enTry)
Dim resEnt As SearchResult
mySearcher.Filter = ("(objectClass=computer)")
TotalNodesLabel.Text = "Total computers: " + mySearcher.FindAll.Count.ToString
For Each resEnt In mySearcher.FindAll()
If IsNothing(resEnt) = False Then
ListOfNodesListBox.Items.Add(resEnt.GetDirectoryEntry().Name.ToString())
End If
Next
I was hoping to get a list of active computers, this method lists all
computers even if they're not currently connected to the network.
Thanks
Sumit Domyan
|
|
|
|
|
You'll probably have to go down the list your getting and ping them all to determine which ones are live and which are not.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi All,
I want to restrict the user to type only 4 characters in the combo box
i have specified in the property max length=4
But its not working
How to do so
Thanks in Advance
|
|
|
|
|
If (myComboBox.Text.Length() >= 4) Then
myComboBox.Text = myComboBox.Text.Left(4);
End If
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Plz send the details about m_myComboBox
Is it some user defined function
|
|
|
|
|
sorry, i just made a copy/paste from a sample of a code of mine...
<br />
m_myComboBox is the same as myComboBox ...
just remove its leading m_
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Sorry,but i am not getting any such property as combobox1.text.left(4)
Left property after text is not coming
|
|
|
|
|
it was in the idea...
do this :
If (myComboBox.Text.Length() >= 4) Then
myComboBox.Text = Left(myComboBox.Text, 4);
End If
is that ok now ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
No,Left() is not taking any parameter
|
|
|
|
|
No,But Left() is not taking any parameter
|
|
|
|