Questions tagged [winapp]
97 questions
0
votes
1 answer
can a Flash app running in browser connect to localhost to get data from another app?
it seems that Flash was supposed to run in a sandbox in the browser. But, if Flash can get data from a remote server, can it similarly get data from localhost IP on the same machine? In other words, can I use a Windows app that provides a TCP socket…

EndangeringSpecies
- 1,564
- 1
- 17
- 39
0
votes
1 answer
Why text is not showing in a gradient Button?
I use the below code to set a gradient to a button in a windows form. It works but it's Text is not showing. What should I do to fix it?
Thank you.
private void Form1_Load(object sender, EventArgs e)
{
button2.Paint += new…

John
- 1
- 3
0
votes
1 answer
Format of the initialization string does not conform to specification starting at index 128
Mine is C# windows application.
When i run this application in my local machine it gives following error:-
"Format of the initialization string does not conform to specification starting at index 128".
try
{
string path =…

Venil
- 83
- 2
- 4
- 9
0
votes
1 answer
Sendind mail to a database list
Good evening to all. In my C# WinApp I sending an e-mail in this way:
mail.To.Add (new MailAddress ("firstname.lastname @ domain.com"));
Now, I would like to send an mail to a list of users stored in a table of MySQL database.
Which is the best…

Gianni Giordano
- 143
- 1
- 2
- 13
0
votes
1 answer
how to refresh my itemlist in winapp when I insert a new data in sqlite (javascript & html)
I insert a new data into sqlite (with buttonclick) and then how to refresh my itemlist so that I can see the new data without restart the app. I use javascript&html to make a win8app.
I didn`t use databinding in the app.
// Because we're doing…

rick
- 3
- 2
0
votes
2 answers
webbrowser event in c#
I use this event for webbrowser in c# win app.
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
//do something
}
I can use this event when the document is completed. I want to know is there any…
user1814632
0
votes
0 answers
Delay between form initialize and show to user
I want to move mouse and click on control in run time. But between form initialize and show form to user was delay about 1 second and this cause mouse clicked on the parent form of this form.
I use Show method, Load method but not fix my problem. i…

Hajitsu
- 764
- 17
- 49
0
votes
1 answer
What files of my project should I add for deploying my .NET3.5 windows app?
I have developed a windows application via .NET 3.5 and now I want to deploy It for instalation , what I don't know is what files exaclty should I add in windows installer ? here is my project structure :
- I have a folder named 'Images' which I…

gwt
- 2,331
- 4
- 37
- 59
0
votes
2 answers
How to clear a timer when timer using every 1/10 second
I have a timer running every 1/10 second (Interval = 100). It is in an infinte loop because I want to load a site on my WebBrowser control and get info into a span ID each time it loads. My problem is if this process runs for a long time, it'll be a…

Mekhy
- 21
- 3
0
votes
4 answers
How to convert innertext?
Hello I retrieve data from webbrowser control by use getelementbyid.
var element = webbrowser.document.getelementbyid(something);
i have a problem is cant convert to double which can convert to string.
i want to know about convertion to be double.…

Mekhy
- 21
- 3
-1
votes
1 answer
How can i Connect my winform app to about 200 computer with Ethernet
I have winform app(c#) with SQL database(mdf)
200 computers are connected with Ethernet
How can I install my app on all computers?
Is there a way to have the database of all systems in one pc an use the information that database gathered?

Ali.hsz
- 11
- 3
-1
votes
3 answers
TextBox isEnabled binding dependant on combobox item
So i have a ComboBox bound to a list of items. { A,B,C,D,E }

BunkerBilly
- 172
- 2
- 11
-1
votes
1 answer
Where to create my objects in a windows form app?
I'm trying to create an object in my windows form app but if I create it in the constructor, then I can't access it in the entire app...(Like the events) In the code below the Time1 isn't available. I'll be happy to hear from you...
using…

Amirhosein Al
- 470
- 6
- 18
-1
votes
1 answer
C# MdiParent Can't Show Text on Textbox when send value between 2 form
I use this code in my child form
MainMenu f = new MainMenu();
f.tbUserName.Text = "MY TEXT";
so I want to display text in tbUserName but it doesn't show me.
** I don't want to open new window with this code
MainMenu f = new MainMenu();
f.Show();
-2
votes
2 answers
text on progressbar in c#
I am using the following code.
Why does it not run properly ?
private void Form1_Shown(object sender, EventArgs e)
{
for (int i = 1; i <= 100; i++)
{
Application.DoEvents();
Thread.Sleep(200);
…

jack rasha
- 85
- 2
- 2
- 6