|
Imports System.Io class
and get all answers for ur questions.
|
|
|
|
|
hi all..
i m from ahmedabad,india.
i want the info. abt good coching institute(in ahmedabad) for MCPD.
i want your advice abt that exam also....
plz help........thks in advs....
Imagine the I.T
|
|
|
|
|
1 - exams are a waste of time
2 - the fact that people look for coaching specific to the exam, is the reason they have no value whatsoever.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: exams are a waste of time
Some companies will look more favourably on those that have passed the exam. Therefore it can be advantageous when seeking employment.
|
|
|
|
|
I guess that depends on if you need a job enough to work for such a company. I've always assumed that anyone who looks for exams is clueless.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: I guess that depends on if you need a job enough to work for such a company. I've always assumed that anyone who looks for exams is clueless.
Or if the company desired to be a Microsoft Partner or Gold Partner. Last time I looked (which I admit was a couple of years ago) a company needed a certain number of certified employees in order to be eligable for partnet status. I'm assuming it is still the case.
It is all marketing really. But the process of studying for an exam can be beneficial if the person studies the subject the exam covers rather than study how to pass the exam. I don't mind admiting that I failed two exams on my way to an MCSD because I didn't study enough on areas that I'd never needed previously (e.g. I've never used COM+ so I had to study pretty hard for that part. Now, all that COM+ stuff has dropped out my head anyway).
|
|
|
|
|
Hello,
How can I deactivate the automatic sorting while clicking on HeaderCell of datagridview?
Thank you
Eric H.
|
|
|
|
|
There is no property on the DataGirdView to turn this on or off. This is done on each individual column itself giving you the ability to turn on sorting on certain columns and off for others:
Dim dgvCol As DataGridViewColumn
For Each dgvCol In dataGridView1.Columns
dgvCol.SortMode = DataGridViewColumnSortMode.NotSortable
Next i
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
it works, thank you
Eric H.
|
|
|
|
|
Sir,
I was displaying the exe that are present in my computer.For that I am using the Recursive function.The process is very long operation.
So i found an alternative , which is , I can find out the exe's that are present in my registry.(HKEY_LOCAL_MACHINE).
Can i list all the exes using the registry.in vb.net 2005.
There is one another problem like there is a yahoo messenger installed on my machine.
There is an exe called YahooMessenger.exe
and
YServer.exe
and
YMSGR_Tray.exe
Out of these only the actual Yahoomessenger needs to be shortlisted.
but my program tells the all.
Is there any way out to sort out this as well.
Please help.
Thanks and regards
Pankaj
|
|
|
|
|
amaneet wrote: Can i list all the exes using the registry.in vb.net 2005.
Of course not. Not every exe on your machine exists in the registry, only COM dlls, and files that have been recently used, etc.
amaneet wrote: Is there any way out to sort out this as well.
Of course. Write a list of files you want to ignore, and write code to ignore them. I see no hard and fast rule, it looks to me like you want to write an exclusion list. On what basis did you want to exclude them ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sir/Madam,
Can I programically ascertain , the number of users who has accounts on my operation system , using the VB.net 2005 .
I can find out the user who is currently logged in .
By the following code.
System.Environment.Username
But I want to know the no of users who has account on the operation system.
Please help.
Thanks and Regards
Pankaj
|
|
|
|
|
::Example code here:
--------------------------------------------------------------------------------------------------------------
Private Function draw(ByVal g As Graphics) As Integer
Dim sf As New SizeF
g.MeasureString("hello world!", New Font("Arial", 9), sf)
Return sf.Width
End Function
Private Sub pd_PrintPage(ByVal sender As System.Object, ByVal e As
System.Drawing.Printing.PrintPageEventArgs) Handles pd.PrintPage
draw(e.Graphics)
End Sub
Private Sub mySub()
Dim g As Graphics
' What should I do here with g in order to get equal results
from draw() functions
' in pd_PrintPage() and in mySub()?
draw(g)
End Sub
Tell me please if it is possible.
|
|
|
|
|
mySub should call Invalidate() to force a paint event. Although, I see that neither of your other blocks of code is a paint event. What are you trying to do ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how to create 600dpi graphics
|
|
|
|
|
Oh, OK. You can use a scale transform to make everything you draw, bigger. There may also be a DPI setting, but I'm not sure what that would achieve.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi All,
I require help with docking windows form right above task bar
Thank you!
"Mess with the Best, Die like the rest"
|
|
|
|
|
Would you care to explain the problem or should we just guess?
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Actually I am very surprised to hear this from an MVP, the thing is simple i need to dock a window form right above the task bar,
Now wht further explaning do you want?
Thank you!
"Mess with the Best, Die like the rest"
|
|
|
|
|
You'd be surprise how often a question shows up on the boards that can be answered with "Permission Granted". "Great! You want to do something, now what's the problem?" If you would have asked "what are the steps involved in...", that would have clarified where you were stuck - in your case, step 1.
I think you're referring to a Desktop Toolbar, something like this example[^].
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Can you please give me a regular expression in c# to remove single line comments from a string and please kindly help me its urgent
Criteria
a. // text --- Should be removed
b. file:///text.txt -- should be retained
c }//abc -- hear //abc should be removed
Thanks in Advance
Thanks and Regards
Irsh
|
|
|
|
|
read each line as well as each character
and thus the comment line will get eliminated.
|
|
|
|
|
i want to expire the program after 30 day , how i can do that , and don't affect with windows calender if user set back the time
-- modified at 2:41 Thursday 5th April, 2007
|
|
|
|
|
There are several approaches for this. Whenever user installs your application, you check user's internet connection. If he/she is connected to internet, you can check date and time according to user's location via a time zone in web and save this values as encrypted information somewhere under your application's directory. Therefore whenever user runs your application, decrypt this values and calculate remaining date or time.
Another approach is to calculate remaining time not date. Therefore, Whenever user installs the application, record time (HH:MM:SS). Accumulate time and convert it to date (if you want to) each time user runs your application.
I hope that helps for a bit.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
greate , may you help me with the code for the second approch , calculate the remaining time ..
regards
|
|
|
|