|
i'm trying develop a Client/Server application to transform files from UNIX(Server) to Windows(Client) using VB.Net. Plz help me out how can i build this application.
|
|
|
|
|
You'll have to write that code under Mono, or the Linux's world version of the .NET Framework.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
On Windows Vista, Process.Start() generates Win32Exception.
Sample Code:
<br />
Dim selfProc As String = System.Windows.Forms.Application.ExecutablePath<br />
System.Diagnostics.Process.Start(Chr(34) & selfProc & Chr(34)) <br />
The generated Exception:
<br />
System.ComponentModel.Win32Exception: The parameter is incorrect<br />
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo))<br />
at System.Diagnostics.Process.Start()<br />
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)<br />
at System.Diagnostics.Process.Start(String fileName)<br />
at ...MyProcedure(...)<br />
What is wrong with my code?
Thanks
Atara
|
|
|
|
|
|
Hi
I have been reading up on .Net Remoting for some past days. What I understood was:
1. Create a remotable object.
2. Create a listener referencing that remotable object.
3. Create a client referencing that remotable object.
4. Use config files to indicate where the object resides.
5. Start the listener.
5. Start the client.
To make sure that I was using the server's version of the Remote object, I maintained the interface, but the changed the implementation.
The problem is, it still shows the implementation from the client!
I am using http as the channel, port no=8888
deployed the client exe on a remote machine and gave my machine's url as the remote object location.
What am I doing wrong?
Shreekar
|
|
|
|
|
Can anyone help me out? I want to update a database using a combo box in a data grid
|
|
|
|
|
if you are using the System.Windows.Forms.DataGrid..........
don't use it to edit your data because you will suffer, just use
it to view data
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Hello everyone,
i m using vb.net 2005 (winforms).
when i wnt to go to next day i use datetime.adddays(numberofdays) function.
but now i wnt to go back by one day , how to do it? what function is present for this Please tell me.
i saw "Subtract function" in help but didnt get it.
tell me any another function or if datetime.subtract() function can be used for subtracting one day frm our date then please guide me how to use it.
Thanks for any help in advance.
--regards Priya
"The Difficult i can do it now...
The Impossible will take a little longer."
|
|
|
|
|
datetime.adddays(-numberofdays)
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
plz i want convert date to days to Compare whith anther date like
date.now - 10/11/2006 = valu as daye
plz hel me
Ahmed El-Badry
|
|
|
|
|
Colin already told you how to do it a few posts up.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
How to make windows form tranceparent but the flashcontainer which holds the flash animation shoudn't be transeparent and all the picturebox controll which present in that form shouldn't be tranceparent.please help me in this matter quickly.
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
|
You can pick a color for a transparency key for your ENTIRE form, not parts of it. If there is anything painted on your form that is this chosen color, even in a Flash animation, it'll be drawn transparent.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
I have created dynamic button controls and added in Form directly. I want to add tool tip for each dynamic controls, Let me know how to do it?
Any luck, Thanks in advance.
Regards
Rams.
Be simple and Be sample.
|
|
|
|
|
suppose you are doing the following:
Dim btn As New Button
btn.Location = New Point(30, 10)
btn.Size = New Size(75, 35)
btn.Text = "abc"
ToolTip1.SetToolTip(btn, "this this my tool tip")
' just add a tooltip control to the form from the toolbox
Me.Controls.Add(btn)
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
how i change resolution of a system and according to that resolution all control to change their pixel ratio or forcefully i set a resolution which is fit for my application.
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
|
That's a really bad idea. Changing the screen resolution will rearrange the icons users have on the desktop. You dont change system-wide settings just to make YOUR app look pretty. Windows is a shared system, and it's up to you to write your code so it works and plays nice with others.
Reead Automatic Scaling in Windows Forms[^] and be sure to read up on all the links at the bottom of that page.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
thanks for replay.if i want fix a resolution for my system then i want some code or some example.i want is there any mathod present for fix the screen resolution.thanks for give the hints i am using u,r concept
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
|
|
how i do simple flash animation in vb.net,please any one send sample or send the steps for flash animation in vb.net.
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
|
how i do simple flash animation in vb.net,please any one send sample or send the steps for flash animation in vb.net.
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
|
U have to add ShockwaveFlashObjects & ShockwaveFlashObjects from add reference. then onload if flash object name is FlashObj write:
With FlashObj
.Stop()
.Movie = Application.StartupPath & "\mymovie.swf"
.Play()
End With
then u can dispose it : FlashObj.Dispose()
|
|
|
|
|
dear friends
I have developed an application, when the user clicks on create new file the it should create a sql2005 database file with the user defined name? how should i achive it
thanx
Taher
|
|
|
|
|
Use the CREATE DATABASE MyDbName SQL statement.
|
|
|
|
|
hi
i have to insert into a access table through vb.net
it contains one text field and a memo field
i am able to insert for first time from the second time it shows error
ans pls very urgent
with regards
Balagurunathan.B
|
|
|
|