|
How to use windows application with in the LAN developed in vb.net 2005 with sqlserver express edition 2005
had problem in connnectiostring mapping
|
|
|
|
|
Don't post twice, check out this site[^] for more information about connection strings, make sure when you reference an IP it is your LAN IP (192.168.x.x), not local (127.0.0.1)
|
|
|
|
|
i hav developed vb.net windows appliction and backend with sqlserver
and instaled in my pc how to use that app. from other system.
plz help me.........
|
|
|
|
|
Do some frakking research before asking a question - see the first item in this search [^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I've been working on automating a file download from the swift.com website. I don't know if this makes a difference but the site uses the Apache webserver. The documentation from SWIFT stresses that they're using the Apache HTTP Client Library, but their sample code is in Java, so that might be why. I assumed that a web request is a web request, regardless of the library you use to create it, but here I am asking for help, so maybe my assumption is incorrect. I've included a portion of the code I wrote to download the file.
...
WebRequest myReq = WebRequest.Create(URL);
string username = "me@mydomain.com";
string password = "myPassword";
string usernamePassword = username + ":" + password;
CredentialCache mycache = new CredentialCache();
mycache.Add(new Uri(URL), "Basic", new NetworkCredential(username, password, "swift.com"));
myReq.Credentials = mycache;
myReq.PreAuthenticate = true;
myReq.Headers.Add("Authorization", "Basic " + Convert.ToBase64String(new ASCIIEncoding().GetBytes(usernamePassword)));
myReq.Proxy = WebProxy.GetDefaultProxy();
myReq.Proxy.Credentials = CredentialCache.DefaultCredentials;
<-- Error occurs on the next line: The remote server returned an error: (401) Unauthorized -->
WebResponse wr = myReq.GetResponse();
Stream receiveStream = wr.GetResponseStream();
StreamReader sr = new StreamReader(receiveStream, Encoding.UTF8);
StringBuilder bicFile = new StringBuilder();
...
Anyone care to shed some light on this for me? I've logged into the site using the credentials so I know I have them right. Cross posted in C# and Windows-Forms forums.
Mike Devenney
|
|
|
|
|
Mike where you able to solve this, I am facing the same problem, if you have a solution for this please share
Thanks,
Sridhar
bc_sridhar@yahoo.com
|
|
|
|
|
How do you display a tooltip in datagrid for .net 1.1?
|
|
|
|
|
Ok, so I've created a sample C# forms application, and want to ensure that it can be easily localized to other languages. I'd like all my strings etc in resource files, and satellite assembly files looks like a decent way to go about this.
I've found several articles, on CP and MSDN etc, they all mention to create a windows forms application. Then right-click on the project and select Insert New Item and then select "Assembly Resource". I have many installed templates, but that's not listed. Has this changed in VS2008? Would "Resources file" work ok?
For example, see here, Approach A, step 1.
thanks,
Mark.
|
|
|
|
|
hi all!
i need to develop application that have many simultaneously ran tasks. each task have its own logger file and prints log info in to some window control.
i've tried to investigate how to log this data to UI window but found out nothing.
i need some multiline listbox or textbox that can contain a lot of strings and be fast like VS output window(text box) or microsoft spy(listbox).
i think that containing of all log lines in UI window is not a good idea... may be it would be better to write all log data only to log file and in to UI window print lines depending on scroll-bar position reading them from log-file?
what do u think about this? may be u had the same problem and can recommend me better solution?
10x!
ISQ 469907496
|
|
|
|
|
Hi,
most of the time I log to both a file (which during debug gets opened and closed for each line, so I also catch the last line before a crash) and a listbox. IMO a TextBox is terrible for logging, since it continuously concatenates all text lines, a quadratic and expensive operation you do not need.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
|
Luc Pattyn wrote: IMO a TextBox is terrible for logging, since it continuously concatenates all text lines, a quadratic and expensive operation you do not need.
Interesting, never thought of that bottleneck right there, going to make me review a couple of times a textbox is present for debugging
|
|
|
|
|
I have a Text box on a panel and want to set to value for it through the another form.
pls help me
by
srinivas
|
|
|
|
|
Do some research before asking the 2nd most asked question ever try this clickety[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
What's the first?
|
|
|
|
|
How to read/write data to a database!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
what a stupid question ?
i am asking the question tell me the answer
other wise
please shut up
thank u
|
|
|
|
|
I'm surprised you did not demand the codz plz.
I gave you a link to search google which you should have done before asking your original question. This question is many times in a week, it has been answered with some excellent examples which you would have seen if you followed the link.
I was answering Elliot, not you.
As I said in my original post you need to do some research before posting your simplistic question
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Does any body have an idea how to add a Button to a TextBox after the application has started(at runtime adding of a button to the TextBox). I have tried with directly adding a button to TextBox, I am trying to Create a button inside a textbox which performs exact operations as a Button over a Form.
One of the option is drawing a painting of button and actually catching all the events happening in the region of the drawn painting. does any body have any better approach of doing the same
tyra
|
|
|
|
|
sunnytyra wrote: at runtime adding of a button to the TextBox
Should be interesting, I'll be astonished if you can achieve it. Also WHY add it to the textbox.
I can understand a user control that includes a textbox and a button but a button is to service a click event, you get the same event in the textbox, just change the appearance of the textbox. How do you expect the user to type into a button?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thanks for replying...
I would answer for the why in your reply?
Just take an example the application I have developed have 10,000 TextBox I cannot replace all with the UserControl. So I am trying to change the TextBox.
|
|
|
|
|
sunnytyra wrote: I have developed have 10,000 TextBox
You may call it an application, I'd call it an abomination, I don't care what you app is that many text boxes on a form or a series of forms indicates your design is seriously wrong.
I'd go back and redesign your entire solution.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Please read my reply care fully: it says "For Example"
|
|
|
|
|
I have a question:
Why is it so difficult to add a control to another control. If it is possible for Container Control to do this is should be possible for the Normal Control also. I am try to create a control in the direction but dont want to use Container Control strategy as far as possible.
Please suggest your opinion.
Regards
Sunny
Email: sunny_tyra@yahoo.com
|
|
|
|
|
Think about what you are saying, a container control is DESIGNed to CONTAIN controls, a normal control has a different job. Next you will want a panel to manage text. Don't be an idiot, use the right tool for the job. You want to contain a control then use a bloody container control.
Or write your own control, oh right, you will need to start with a CONTAINER control. Rates as one of the stupidiest question I have seen.
Never underestimate the power of human stupidity
RAH
|
|
|
|