|
Let me get this straight. Your Professor gave you an assignment and your looking for all the source code to do what he wants so you don't have to write it yourself? Is that correct?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
whats the scope of .net when i go in market after learning
|
|
|
|
|
Your best bet is to check the major job boards, like Monster, Dice, CareerBuilder, ..., where you expect to get a job. Check to see where the jobs are and what they're looking for.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
RAJEEV RANJAN wrote: whats the scope of .net when i go in market after learning
It really depends on your experience and the amount of money you want to earn.
A lot of the higher paid roles, want x number of years of .NET development, and if you don't have that then they look at the x number of years you've coded in a non-managed environment.
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
hi there
I need a function in vb6 that hides the desktop and the start menue from the user and a function to show it again.
thanks alot![Roll eyes | :rolleyes:](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_rolleyes.gif)
|
|
|
|
|
What do you mean by "hides"?
There are Win32 functions to start the screen saver or lock the workstation, but using those depends on exactly what you want to happen.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I need to not show the desktop and the start menu bar through a vb program and show it through the program too
|
|
|
|
|
illusionFinder wrote: and show it through the program too
Ummm....What? Do you mean you need the Desktop and the Start bar to show up inside your app? Not going to happen...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi guys!
need some help...
i have created a window service which inserts some values in sql server2005 after every 30 min after chacking some details. the service is running fine but it takes the CPU usage to 100 percent while it is starting..
i m using a while loop to check the current time and start the timer as the data insertion must be done at exact time like 12:00 pm, 12:30 pm; 1 pm and so on.
the loop goes on iterating till the current system is equal to any time which is round figure.
i think the problem is in that only but not finding that .
can any one help me ... what i m missing..
abhinav
|
|
|
|
|
abhinish wrote: takes the CPU usage to 100 percent while it is starting.. abhinish wrote: m using a while loop to check the current time
There's your problem. You're loop is not giving control of the CPU back to the rest of the system. The startup code in a service is expected to launch a seperate thread to do its processing, not block itself in an endless loop.
You don't need to be checking the current time every couple of milliseconds. All you need to do is start a Threading.Timer that calls a function once a second. In that Timer Elapsed handler, you check for the current time, and if needed, do your processing, then reset the Timer. Using this method, your CPU usage should fall to just about 0.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I tried to install visual studio tools for office now for about two hours and I have failed miserably.
What I did was
1 Installed visual studio 2005
2 Installed office (with the .Net things for word, excel, outlook etc.)
3 Installed vstor.exe
Now if I understand things correctly this is supposed to be enough. Also this would give me some office options under the new project tab in Visual studio but no. And when I tried to open a sample project visual studio was kind enough to inform me that it did not have all required components installed.
So does any one know what I need to do? A quick (and clear) response would be much appreciated since I’m about to run a screwdriver through my hard drive.
|
|
|
|
|
hi
I amnew to vb.
please help me how to make a dll and registering and unregistering dll..
Send any link for that...is available.
Wheather registering dll is required in Microsoft windows 2000/XP.
thanks and bye
Paritosh
|
|
|
|
|
I suppose you use vb and not vb.net..
Start you vb IDE - Select ActiveX dll - Write down the functions, you want to expose. Function should be declared as Public if you need to make a call.
Select make projectname.dll from file menu.
How to register
regsvr32 "dllpath\dllname.dll"
How to unregister
regsvr32 "dllpath\dllname.dll" /u
You need to register in w2k or xp, if it is not machine where you have developed it.
|
|
|
|
|
Hi,
I want to expand the current drive node at the form load
Please help me.
Thanks and Regards
Pankaj Garg
-- modified at 4:55 Wednesday 1st March, 2006
|
|
|
|
|
hello Pankaj,
i think you can refer to this link http://www.codeproject.com/vb/net/VbNetExpTree.asp
hope that i can help u to solve the problem...
besah
|
|
|
|
|
Hi,
Is this possible for a listbox?
When the listitems of the listbox are selected and right-clicked, a context menu appears.
Then, when the user right clicks on the empty space inside the listbox, the context menu will not appear even though an item is still selected.
If possible, what listbox event is used?
|
|
|
|
|
Hi,
U need to create menu on the form and make it invisible. Then on Mouse Down event of listbox check the value of button.
in this way
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbPopupMenuRightButton Then
Me.PopupMenu Me.file, vbPopupMenuCenterAlign
End If
End Sub
Noshaba
|
|
|
|
|
Hi All!
How do I associate the documents I save using my program to the program itself? Can't seem to do it. I right click the file and then open with... then I click on the vb.net program exe file that I have created but nothing seems to happen...
Thanks for any reply!
|
|
|
|
|
What do you mean "nothing happens"?? Nothing happens what you double click the document? Does your app launch, but no document is loaded??
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello Dave,
When I try to open the document that I saved using my program, the "windows cannot open this file" dialog pops up. It does not know which program to use to open up my document. But I can actually open the document only when I open through the program.
|
|
|
|
|
It sounds like the association is messed up. Open Explorer and click on the Tools menu, Folder Options. Click on the File Types tab. Find your file extension in the list and click on it. Then click on the Advanced button. You should have an open item in the Actions box. Click that, then click Edit. The command line under Application used to perform action: box should look something like this (with the quotes!):
"C:\Program Files\someFolder\myApp.exe" "%1"
If the quotes are not there, the file paths will not get processed correctly and your app will get a list of command-line parameters like this:
myApp.exe C:\Documents and Settings\userId\File To Open.txt
The list of 5 parameters will look like this:
C:\Documents
and
Settings\userId\File
To
Open.txt
Depending on how you coded your app, the filename it'll try to open will be C:\Documents .
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
It sounds like the association is messed up. Open Explorer and click on the Tools menu, Folder Options. Click on the File Types tab. Find your file extension in the list and click on it. Then click on the Advanced button. You should have an open item in the Actions box. Click that, then click Edit. The command line under Application used to perform action: box should look something like this (with the quotes!):
"C:\Program Files\someFolder\myApp.exe" "%1"
If the quotes are not there, the file paths will not get processed correctly and your app will get a list of command-line parameters like this:
myApp.exe C:\Documents and Settings\userId\File To Open.txt
The list of 5 parameters will look like this:
C:\Documents
and
Settings\userId\File
To
Open.txt
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have actually done what you said before. I am unable to find my file extension in the list. I added manually and after that went to the advance section and configured the actions myself. I also change the icon. After I click OK I got back to the Folder option dialog. When I click the advance tab again, everything I edited and configured will haf disappeared...
|
|
|
|
|
I have no idea what you're doing wrong. Other than when you go back into the list, it's resorted alphabetically. You could attempt to create a New association and try to use the same extension and see what happens.
You might also want to try it using an admin account.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
After reading your post again, it would seem that your app is not written to handle command-line arguments. You might want to read up on the <a href="http://msdn2.microsoft.com/en-us/library/system.environment.getcommandlineargs.aspx" rel="nofollow">Environment.GetCommandLineArgs</a>[<a href="http://msdn2.microsoft.com/en-us/library/system.environment.getcommandlineargs.aspx" target="_blank" rel="nofollow" title="New Window">^</a>] method.
When you launch a documnet in the way you described, the associated process (or the one you pick in that dialog) is launched using a command line similar to:
C:\Program Files\SomeFolder\MyApp.exe C:\Path\To\SomeDocument.ext
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|