|
I developed one application in .Net with Sql Server2005 Database.I create a .EXE file to deploy in client sytem.Here to run application the Framework is necessary in Client System,in such a way sql Server have any limited files are necessary or complete sql server database installed.
Just send u r views
|
|
|
|
|
sai259 wrote: Here to run application the Framework is necessary in Client System
Yes, you would need the .Net framework (Didn't you read this in the first chapter of the book?)
You can see a lot of articles here [^]to learn how to deploy Windows Apps.
sai259 wrote: in such a way sql Server have any limited files are necessary or complete sql server database installed.
Depends on your requirements, the number of users, your database size etc.
You may also have a look at MSDE[^]
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
In Client/Server Environment, i want to send/receive data through winsock (inhereted from vb6)
the method so far i know is: winsck.SendData (data)
and WinSck.GetData(data)
My question is, How can i get assurance that my winSck.SendData(data) send data to Server.
2. On Server, WinSck_dataArrival event is not triggering.
Help Please
|
|
|
|
|
1) make sure the server and the client is in the same lan.
2) make sure you have the right IP.
3) make sure the server bind the right port, or auto system port.
and the sockt in client, have tried connect the sever.
ok , it's a long time that i hav't use socket to write web program.
what i said, just give you a suggest.
modified 27-May-14 5:33am.
|
|
|
|
|
dear all,
i have question,about my code have problem....
how do I know if this dbf file or not, with a different extension, but it is a dbf file
example:
"12345.bck"
file above is actually a dbf file, which just changed its extention.
i am develop using C#....
please all,help me
|
|
|
|
|
I imagine if you try to connect to it as if it was a dbf file, you'd find out soon enough. Beyond that, you could look at the file format to see if there's some marker bytes you could read and examine.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
i am sory christian,
I do not find your suggestion on the blog..
clearer please...
|
|
|
|
|
I don't mention it on my blog, because it's not a bug in Microsoft. It's just common sense. I can't make it any clearer.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
As CG suggested connect to it and see if it fails. You can get connection information here[^]
|
|
|
|
|
|
Hi, you can check the type of the file
use:
FileStream fs = new FileStream("Your file path", FileAccess.ReadWrite, FileMode.OpenOrCreate);
StreamReader sr = new StreamReader(fs, Encoding.Default);
sr.ReadToEnd();
sr.Close();
fs.Close();
or File.ReadAllLines("Your file path", Encoding.Default);
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 21:58pm.
|
|
|
|
|
Hi,
Please can anybody tell me how to post data from a windows application to a webpage.
thanks in advance.
|
|
|
|
|
vnr wrote: how to post data from a windows application to a webpage.
Can you please explain your requirment in details ? What do you mean by Post Data ? You are looking for some thing HTTPPost or any kind of web service ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi,
Thank you for your reply .I have an application from which I need to (http post) send the date to a website every day .I will configure that application as a service and it will fetch the data from databse and send the data to a website url ,in that website page i will write the code to store the information which i got .
So i have to write the code to post the data from my service to a website page.
|
|
|
|
|
Is the webpage one you're writing, or one you hope to control ? The best way is to use a webservice.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
Hi,
I am working on building a C# Winforms application which will allow me to login to a forum or site and perform certain tasks. I am stuck at the very 1st step. I cannot login to the forum. Here is what I have tried so far,
the Login button has the following code :-
try
{
Uri uri = new Uri("http://www.thinkdigit.com/forum/login.php");
string data = "vb_login_username="+userid"&vb_login_password="+password;
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
request.Method = WebRequestMethods.Http.Post;
request.ContentLength = data.Length;
request.ContentType = "application/x-www-form-urlencoded";
StreamWriter writer = new StreamWriter(request.GetRequestStream());
writer.Write(data);
writer.Close();
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
string tmp = reader.ReadToEnd();
response.Close();
richTextBox1.AppendText(tmp);
}
catch (Exception ex)
{
textBox3.Text = ex.ToString();
}
Thats what I scrounged up after google busting and visiting so many forum posts. Unfortunately this does not seem to log me in the forum. I am checking the HTML generated content in t my richtextbox control and there's the login fields there still. Which means it didn't login.
I checked the login page.
and these are the contents there
<form name="loginfrm" id="loginfrm" action="login.php?do=login" method="post" onsubmit="md5hash_2(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0);">
<input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="User Name" onblur="myUnTip();" onmouseout="myUnTip();" onfocus="if (this.value == 'User Name') this.value = '';myTip();" />
<input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" />
<input type="submit" class="button" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" />
those are the relevant parts IMHO
so I am filling up the username field, filling up the password, posting to the login.php page with the data ...what am i mising out ?
Also I have another query. Is there a way to load the response , as in HttpGetResponse in a webbroswer control ? If I am login in to the forum, then it would be nice to have the logged in page loaded in my webbrowser control!!
Any Help Would be appreciated.
thanks a bunch folks for your time!!
modified on Wednesday, September 9, 2009 3:57 AM
|
|
|
|
|
Can I get some help here please ?
|
|
|
|
|
Hello All...
I am developing an application i.e. Development of a Network Management Tool
which will have tools like ping,tracert..etc
In the end I have to generate a Network diagram of the pinged nodes.
I just simply have no idea on how to generate this..
please help
|
|
|
|
|
Well, you could start by reading the guide on how to ask questions. Your question is not urgent. It won't change our lives at all if you fail in this task. You should choose a subject that reflects the task, not your lack of preparedness.
You draw a diagram by handling a paint event, and writing code to draw whatever it is you want to represent. I'd imagine I'd do it by having a base class for all objects that can be drawn and having a collection of them, which all draw themselves in the paint event of the main form. Of course, you'd still need to write code to position them properly.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
See remark from Christian, but generally you start with a design.
* What do you need to do the job? What objects? Try to divide the work in small tasks. If you don't know the correct .Net object, try MSDN.
* How do these tasks and objects fit together?
start with what you know and ask specific questions when you get stuck.
hope this helps.
|
|
|
|
|
I wish to do some event logging through a windows service.
Events can be read or written by a windows service, and simultaneously same events read or written by a winform application controlling the service.
Which is the most efficent and fastest method for this communication.
XML, eventlogs.
+ I can do some triggers on event logs so that winform application reacts immediately to reports from service, can i do this in xml?
|
|
|
|
|
faheemnadeem wrote: I can do some triggers on event logs so that winform application reacts immediately to reports from service, can i do this in xml?
You can write code that watches the XML file and when it is changed, reads and parses it. This will not be fast, you need to reparse all the data every time.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Same goes for the event logging method using eventlogs, triggers response is fairly random and has some delay, which is inherent to windows i think so.
takes 2-3 seconds on reply.
Any other faster solution!!!
|
|
|
|
|
You could try a SQL database, I guess.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|