|
Hi
Didnt get u ..Me a beginner in Vb.net so plz explain me wat it is..
Then i tried the code which u gave me ..i think it will work ,but the problem is the new exe is not getting copied..but if i try this code using some notepad files it is working fine.Can u plz give me some details how to do plz..I need this very badly..
Awaiting eagerly For your reply,,
Bino Varghese
|
|
|
|
|
Well instead of the shell function, try using the Process.Start function
i.e. Process.Start(localEXE)
|
|
|
|
|
the problem is I cant copy the new exe file 4m the server.Shell coding is working properly but the old Exe is getting displayed...
so if u can tell me how to copy exe file 4m a 2003 server it vl be helpfull for me
Awaiting 4 ur reply
\Bino varghese
|
|
|
|
|
1) do you have the right permissions set up on your network ?
i.e. can the host manually copy paste the file in question?
2) are you connecting to the server correctly ?
if you type in \\putservernamehere\someshare\somefolder does it connect directly?
this solution is an anorthodox solution, and it works for me in a well set up domain
where each host has appropriate access to the server
otherwise this should be done properly, by configuring the right CAS permissions to
execute the file(s).
i can't help you much more as i don't know how your network is configured
|
|
|
|
|
Hi ad3z,
Thank u very much man for this type of explanation.you should be a Patient man i guess .
Yes i have checked ur two points , now I have given Full rights in the server.The code is working fine my friend.Thank u very much man..
I have a doubt now.
In the Newer Version of the Exe.i have added some new components that additional features is not working. But I can assure u that only the new version of EXEs is working ..
Can u guide me in this issue too..
Thanking u again!!
Bye
Regards
Bino Varghese.V
|
|
|
|
|
BINO VARGHESE wrote: In the Newer Version of the Exe.i have added some new components that additional features is not working. But I can assure u that only the new version of EXEs is working ..
Can u guide me in this issue too..
Adding components (such as DLL files) to your project means that you are accessing resources that will not be compiled in your program.
In other words you need to copy more than just the exe. Notice that if you publish your application, and view the prerequisites, you'll notice that with the built exe all the additional components will be added.
In a simple application (that will not scale much further) you should copy all the files found under your compilation directory.
(All the files in the debug or bin directory should be together with the exe file)
Most likely it's the case of that "new" dll you added.
Ericos Georgiades
|
|
|
|
|
Hi Ericos Georgiades,
u r cen % rite.yes i have dll file and i have also used a Excel component for reporting purpose in this version.
Now how do i add this ??
Bino Varghese.V
|
|
|
|
|
if it works on the machine you have developed this
then have a look at the debug (or bin) directory of your project
there you'll see all the files that the exe is directly using (assuming that the dll is copied to the output directory)
copy all the files to the host, not just the new exe.
otherwise you should publish and install your solution at least once on the host,
and then all you'll need to replace is the exe.
hope it helps
Ericos Georgiades
|
|
|
|
|
Thanx Ericos, i have done this and compiled my project using setup project wizard..
Now my doubt is how to copy the new dlls alone to the client machine so that i need not run the setup again..
Bino Varghese.V
|
|
|
|
|
The same way you did with the exe.
I'll leave this one up to you
Ericos Georgiades
|
|
|
|
|
okai ..let me try and get back to u ..
Thanks again...
|
|
|
|
|
Hi,
I know there is probably a simple answer to this.
I've created a deployment project and I cannot get the Readme.rtf file to display. I added it to the APPLICATION FOLDER, then to the USER INTERFACE with the "readmefile" property set to the file. When I run the install nothing shows. Anyone have any ideas?
Thanks
zxcvbnm
|
|
|
|
|
Hi,
I see that I'm not the only one facing that problem, at first i thought it was a bug, until, I came across a few other guys facing the same issue. I'm also looking for a work around to this problem, and would be glad if someone knew what the problem is
|
|
|
|
|
Hi! everybody.
How can I get the name of SQL Servers on my network. When I load main form, I want to get SQL servers name into combobox and the user can choose which server they want to use. Could you help me please.
Thanks in advance.
|
|
|
|
|
Ok, you can set a bitmap transparency by saying something along these lines:
Bitmap.MakeTransparent(Color)
but after you have done this, is there a way to either
1.) retrieve this color so you know what the transparent color is
2.) remove transparency for this color and set a different color for transparency
Help on either question would be MUCH apreciated.
Thanks
Pablo
Sometimes I think there's no reason to get out of bed . . . then I feel wet, and I realize there is.
|
|
|
|
|
Is it possible to add buttons to list view at runtime in vb?
|
|
|
|
|
Yes, but you would have to draw them manually.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
I need to add buttons as list items. Can u tell me how to do that
|
|
|
|
|
Okay, so I want to use Embeded resources in two ways in VB.NET 2005 Express:
1) ToolBoxBitmap on User Control
2) To load images from at runtime.
I have searched and racked my brain, and am really starting to not want to finish this project.
Thanks,
Tibmeister
|
|
|
|
|
I am looking for a simple routine to print what is on the screen to a printer based on a button being pressed.
Thanks
silver-gray
|
|
|
|
|
I've written a calculation-intensive application under VBA for Excel. The program is non-trivial and quite large. It is currently being used for complicated financial calculations. The problem is that it is very slow. I have gone through the code and made many tweaks to increase the speed (reduced array re-dimensions, eliminated redundant and/or repetitive function calls, etc...) and the speed gains do not improve things "enough" for my liking. Thus, I have decided to re-write the program, a non-trivial exercise.
Now, I am a c++ programmer so ideally I would re-write this in Visual C++ or something, but someone has suggested importing it into Visual Basic. My question is: will this be any faster? I am not sure if VBA is basically interpreted rather than compiled and thus slower than, say, a compiled Visual Basic app. Is this indeed the case, or will I be wasting time importing the VBA code to Visual Basic? If so, then the solution appears to be C++ despite the headache of interfacing VC++ with Excel. Any advice would be appreciated.
"Oh, I must've did somebody some good. I think I did. So I gave her the gun and I shot her!" - Led Zeppelin - In My Time of Dying
|
|
|
|
|
The Apocalyptic Teacup wrote: I am not sure if VBA is basically interpreted rather than compiled and thus slower than, say, a compiled Visual Basic app.
VBA is interpreted according to wiki, VBA wiki[^]
I am sure porting to C++ would be worthwhile
|
|
|
|
|
PaulC1972 wrote: I am sure porting to C++ would be worth
I agree. However, there seems to be a large problem. I'm trying to drive Excel 2000 through C#, but I'm encountering some problems with Primary Interop Assemblies...I think I need Excel 2003 or even more recent...
"Oh, I must've did somebody some good. I think I did. So I gave her the gun and I shot her!" - Led Zeppelin - In My Time of Dying
|
|
|
|
|
The Apocalyptic Teacup wrote:
My thoughts exactly
|
|
|
|
|
PaulC1972 wrote: My thoughts exactly
Yeah. I guess I convince my employer that the simulation runs for 12 hours while I get a day off! Oh, if only...
"Oh, I must've did somebody some good. I think I did. So I gave her the gun and I shot her!" - Led Zeppelin - In My Time of Dying
|
|
|
|