|
okies ...well yes that is if i want to run my commands directly from the code...
rght ...well i was waiting ...for the reply i figured out myself what i was looking for ..
we can create a batch file ...with foll code
cd C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
cls
devenv /build Debug "C:\Documents and Settings\atul.sharma\My Documents\Visual Studio Projects\YMSEntity\ymsentity.sln"
devenv /build Debug "C:\Documents and Settings\atul.sharma\My Documents\Visual Studio Projects\ClassLibrary2\classlibrary2.sln"
This way i can build the dlls of multiple projects in a single go .....thanx buddy for ur time and thought...
" There are 10 types of people one who understands binary and one who don't................."
|
|
|
|
|
I did the file watcher that catches deletes,renames,new files but:
Is it possible that you watch if someone moves files or even if i place a "D:" disk to watch than if someone ower network access that drive on my computer that it pop up message?
Please if you can help me on any way please help me...
|
|
|
|
|
Hello,
I am Using VS.net 2005. in this i was create custom textbox control for when textbox got fosus then textbox's font will be bold and green colour. that is working.
but now problem is this. i am unable to input data into textbox from database. because it is not working as a textbox. and not get textbox property as we want to set password char.
Please help me.
may be control is not created right method.
if anybody know to create coustom textbox for when textbox got fosus then textbox's font will be bold and green colour. plese tell me.
Thank You.
Vikash Yadav
|
|
|
|
|
How have you done this ? Have you derived a class from the TextBox ? If so, it IS a textbox. If not, why not ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Thank You For Help.
But i want to tell you i am fresher. i dont't know that how i can create derived class from the textbox. can u help me. Pleaze send code if you have to create custon control textbox.in that i can change font size and colour.
Thanks & Regards
Form :-
Vikash Yadav
|
|
|
|
|
Vikash Yadav wrote: i dont't know that how i can create derived class from the textbox.
OK, then stop writing GUI code and work through a book on the absolute basics.
Vikash Yadav wrote: Pleaze send code if you have to create custon control textbox.
I haven't. But, it's pretty simple. A lot simpler than what it sounds like you've done. Just create a class, make the TextBox the base class, and change the text color based on if you have the focus or not.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Tanks for a lot of help
Thanks & Regards
Form :-
Vikash Yadav
|
|
|
|
|
well,
in my winform i have some datagrids and one these must have no scrollbars, i've to remove the scrollbars that automatically apeears...
how can i do this????
here the code
Dim hhh As Integer
For hhh = 0 To DataGridX.Controls.Count - 1
If DataGridX.Controls(hhh).GetType Is GetType(VScrollBar) Then
DataGridX.Controls(hhh).Visible = False
DataGridX.Controls(hhh).Width = 0
End If
If DataGridX.Controls(hhh).GetType Is GetType(HScrollBar) Then
DataGridX.Controls(hhh).Visible = False
DataGridX.Controls(hhh).Width = 0
End If
Next
where is my error????
thenk's a lot
|
|
|
|
|
i have a project in which i have added references to excel,system.web and vbide.
the project works fine,but when i copy the exe to desktop and run it from there,it does not work..it gives file not found exception..
y does this happen?
-- modified at 2:43 Wednesday 24th January, 2007
p.s.:this is the exact error i get:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in EM_MACSCAN.exe
Additional information: File or assembly name Interop.VBIDE, or one of its dependencies, was not found.
ik pair past mein,te dooja pair future mein.tabhi to aaj pe moot rahe hain.
|
|
|
|
|
never mind..i figured it out
ik pair past mein,te dooja pair future mein.tabhi to aaj pe moot rahe hain.
|
|
|
|
|
how to code a scrolling marque? using vb.net2005...
web links.. is also higly appreciated thank you...
start a new beginning in every ending; thats what life for......
|
|
|
|
|
Write your own control. Derive it from label. Use a timer, and every time it fires, increment the index of the first character you paint.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi,
I have two forms as form1 and form2.
I want to call form2 from form1 multiple time with different arguments. My question is if i supposed to call the form1 with already given argument, it should not open up as new form, it should activate the old form itself.
to be clear, form1 click to open form2 with arg value 1, and another click open form2 with arg value 2. now if i click form2 with argument value 1, then it should active the already opened form2 with argument value 1, not to open as new one.
Any help.
Regards
Rams.
Be simple and Be sample.
|
|
|
|
|
Hold the each form in collection with argument value and indentity.
when your open new form first u check in collection if exist then activate otherwiese create new form instance and show it with new argument.
Parwej Back...............DON of Developer.......
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
Respected Sir/Madam,
i have datagridview in my vb.net(winforms) application.
1st cell of each row contains button named as DELETE, I wnt to Delete that row whose delete button is clicked ....So will you pliz tell me how to delete specific row in my datagridview.
Thnanx
priya
|
|
|
|
|
yesss....i got it
dgvTaskList.Rows.Remove(dgvTaskList.Rows(e.RowIndex))
priya
|
|
|
|
|
In What event have you placed that code?
|
|
|
|
|
priya_p233 wrote: dgvTaskList.Rows.Remove(dgvTaskList.Rows(e.RowIndex))
What kind of event argumnent is e?
|
|
|
|
|
I need to logoff a systme by running the script. As per my Knowledge the user32.dll library should be included in the Script and it funciton exitwindow sholud be called with unflag value set to zero.But i saw similar code in Visual Basic code from the site VBnet.com . Please help me out to do same thing with vbscript.
Praveen
|
|
|
|
|
VBScript cannot do this like the code you've seen. It has no facility to make calls into the Win32 API like in your example.
It can, however, use WMI to do the same this using the Win32_OperatingSystem[^] class.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi.
I've created my own print preview using PrintPreview Control . I do have a print dialog being called but now need to know how to allow the printdocument to print Page FROM [] to [] etc. bascially all the options in the PRINT RANGE section of the print dialog etc. i have managed to creat a select case to detect what options are set by user ..but i dont know what comes next to make sure the PRINTPAGE event prints the selected pages , Selection or all etc. at the moment even if i select page FROM & TO its still prints all pages out.
Thankyou.
Robbo
|
|
|
|
|
Private Declare Function SystemParametersInfo _
Lib "user32" Alias "SystemParametersInfoA" _
(ByVal uiAction As Integer, _
ByVal uiParam As Integer, _
ByRef pvParam As String, _
ByVal fWInIni As Integer) As Integer
Private Const SPI_GETSCREENSAVERRUNNING As Integer = &H72
Private Const DESKTOP_READOBJECTS As Integer = &H1
Private Const DESKTOP_CREATEWINDOW As Integer = &H2
Private Const DESKTOP_CREATEMENU As Integer = &H4
Private Const DESKTOP_HOOKCONTROL As Integer = &H8
Private Const DESKTOP_JOURNALRECORD As Integer = &H10
Private Const DESKTOP_JOURNALPLAYBACK As Integer = &H20
Private Const DESKTOP_ENUMERATE As Integer = &H40
Private Const DESKTOP_WRITEOBJECTS As Integer = &H80
Private Const DESKTOP_SWITCHDESKTOP As Integer = &H100
p_lngRtn = SystemParametersInfo(uiAction:=SPI_GETSCREENSAVERRUNNING, _
uiParam:=0&, _
pvParam:=p_lngScreenSaver, _
fWInIni:=0&)
Last 2 weeks back i posted one question, that is "To Determine whether Workstation is locked or not",Mr. Dave gave this code to me.This is perfectly shows the Workstation locked status. I changed Integer instead of Long.
The Above Code is Working fine in VB6.0 and in VB.NET is partially Working, because when the screen saver comes it throws an "Object reference is not set to an instance of an object" error . Plz guide me.
Thanks & Regards
Kumaran
|
|
|
|
|
It doesn't tell you if the workstation is locked. It'll tell you if the screen saver is running though. Those are two very different states. A workstation can be locked, but the screen saver is not running.
You've got the declaration for the function wrong. It should be:
Private Declare Function SystemParametersInfo Lib "user32" _
Alias "SystemParametersInfoA" _
(ByVal uiAction As Integer, _
ByVal uiParam As Integer, _
ByRef pvParam As Integer, _
ByVal fWInIni As Integer) As Integer
.
.
.
Dim rc As Integer
Dim scrnSaverStatus As Integer
rc = SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, scrnSaverStatus, 0)
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi.
where is it best to store temporary variables such as last submitted invoice number which i can read and then increment for next invoice number etc.
is it ok to store in xml or should it be in a Database ???. thanks.
Robbo
|
|
|
|
|
What do you mean by temporary ? If you mean stuff that needs to persist between sessions, I'd use the properties support, or a config file. I'd never use a database.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|