15,908,841 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 4347041 (Top 29 by date)
Member 4347041
22-May-16 9:47am
View
? I don't understand your comment.
I added picture to show that surface is lower than bottom edge of a form and I would like to add controls on this surface (and "under" the form) and have scroll bar.
Please provide print screen of what you suggest I use on a form.
Member 4347041
22-May-16 9:42am
View
Is it possible to do it manually (drag/drop controls)?
Also if I have for example multiple panels, are they stocked one on the other?
Member 4347041
5-Apr-14 2:50am
View
- Is there a way to connect to MYSql with no connector or do you always need to install it?
- If i use connector for mysql from this site: http://dev.mysql.com/downloads/connector/net/
and after app is finished, will my users need to instal the same connector to use my app or it will be integrated in my app's .exe?
Member 4347041
2-Sep-13 15:07pm
View
You did not understand me. Nothing to have with AutoCAD. Draw on a panel in my app, but the line must have the same characteristics as line in autocad. How to move line, grab first and last point,...
Member 4347041
2-Sep-13 5:32am
View
The only thing working is the "PNPDeviceID" the DriveType and VolumeSerialNumber show error "Not found".
Member 4347041
31-Aug-13 3:52am
View
Also tried this:
ManagementObjectSearcher MOS = new ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive");
ManagementObjectCollection model = MOS.Get();
string mark = "";
foreach (ManagementObject obj in model)
{
if (obj["Name"].ToString() == ("\\\\.\\PHYSICALDRIVE") & obj["InterfaceType"].ToString() == "USB")
{
mark = (string)(obj["PNPDeviceID"].ToString());
}
}
textBox7.Text = "ID is: " + mark.ToString();
and i don't get anything.
Member 4347041
27-Jun-13 3:33am
View
I was thinking to do like this:
http://www.energetska-ucinkovitost.si/energetska-ucinkovitost-v-stavbah/izracun-energijske-bilance-stavbe/programska-oprema/
Where you don't have one form but 2 or 3 forms that you can move above or under the other,... so you can get more space.
I wrote my app on my screen resolution and when i tested on other pc (resolutions) i had a big problem. labels were moved, spaces between labels, textboxes,... where changed,..., it cut one third of a form and so on. That is why i was thinking to use MDI, so i can have "desktop" in it, with multiple forms, panels,...
Member 4347041
22-May-13 16:31pm
View
I tried to put this code into Form1.Designer.cs, but if i place another label, textbox,... on a form, designer repopulates, and deletes the code. The only way was to put the code into constructor under "InitializeComponent(); or make a method with all the changes and call this method under "InitializeComponent();".
For seeing on the form the real size of text while moving, reordering,..., it would be nice if there was a way to write text into Properties window under Text.
Thanks for your help.
Member 4347041
22-May-13 2:02am
View
Thanks, can you explain a little? How to use both superscript and subscript. What is the meaning of "dn1", "up0",...? How to write this in Properties window under Text, not with code? Is this possible?
Member 4347041
19-May-13 16:08pm
View
This item is the last one, so i need to get his location and add his size to make the size of a form.
Member 4347041
30-Apr-13 2:39am
View
I was thinking of putting two textboxes, one for users email and second for his password, but would you use that kind of an app that wants your password? You don't know what information app sends,... that's why i made one email, and put password into code, so user does not need to give his own.
It would solve my problem if noone could extract password from code. I am making only .exe app no need for setup,... only "copy/paste and use it".
I tried do obfuscate, but if string is between " and ", makes no change, it's still the same string. Also by getting this password, someone can change it, get into email and delete emails,...But i do need this approach, because i am also making statistical data, how my app is in use, what needs to be changed,...
Member 4347041
29-Apr-13 6:49am
View
Because of no response i will use 3 of them:
string[] i_S = new string[3];
i_S[0] = "http://whatismyipaddress.com";
i_S[1] = "http://www.iplocation.net";
i_S[2] = "http://www.findmyip.org";
Member 4347041
29-Apr-13 2:31am
View
I have an app that sends me users data for statistical purposes. From this code password can be extracted for email. If there is a way to hide/obfuscate,... this email and password, would also solve my problem.
Member 4347041
21-Apr-13 8:13am
View
With this code: <pre lang="c#">this.Size = new Size(820, 710);</pre> and <pre lang="c#">this.Size = new Size(1370, 710);</pre> i am changing the with of a form. Works great on a few screen resolutions but not for all of them. Isn't the pixel the same no matter what screen resolution is selected?
Member 4347041
21-Apr-13 6:04am
View
Thanks. Wrong event, now it work.
Member 4347041
13-Apr-13 7:17am
View
Thanks. But what if this site changes? Is it possible to get from google.com?
Member 4347041
13-Apr-13 6:43am
View
Now i am thinking of webrequest from google.com and to get the IP. Have you got a sample of code?
Member 4347041
13-Apr-13 5:58am
View
Sorry i was not clear: i have set up one email for all users (it`s hidden in code), when they save, program logs on that particular email (in the background), inserts password, ads text, attachments,...(sends email via stmp), and it works like you would send email to your self. So there is no need for your email, password,... the only thing i need is the right IP, so i can get the location. In "About" section in program is written that if you want to use the program you have to agree with terms of use, and so on. I am making a statistical data,... and i need to see in which states, cities,... is program more used that in other states, cities,...
Member 4347041
12-Apr-13 15:43pm
View
The thing is that i wrote a program and when user saves files, program sends me an email. So i get the real number of made projects,... And i was thinking if i could get the IP address so i can see where the particular user is using the program. I thought that i get the IP with my code above but i can not use that IP. Is there another way to accomplish this? I need to get the location of a user.
Member 4347041
12-Apr-13 15:01pm
View
Ok, now, is it possible to get the IP address of a router? I need it to pin-point the location of a user.
Member 4347041
12-Apr-13 12:42pm
View
Thanks. One more thing: the IP address that I get from this code (above) is totally different from IP address that I see in my gmail account or if I check it on the website. Why is that?
How to get the real one?
Member 4347041
12-Apr-13 6:36am
View
I have try it/use it for numbers and a few characters, but i need for example write this "A_s,min,i" the "s,min,i" is subscripted.
Member 4347041
12-Apr-13 4:38am
View
Thanks. Where can i find all (list of) those libraries (using) and what their are containing?
Member 4347041
12-Apr-13 4:13am
View
Where is AddressFamily defined?
Member 4347041
11-Apr-13 12:19pm
View
It shows me 4 of them, only one looks like IP, three of them are like this:
dr44::a7e2:7f7i:6f32:716g%19
And now i need the code to only look for that one that is IP, like 192.x.x.x
Member 4347041
6-Apr-13 1:41am
View
Size of my form is 1370; 710, there is lot of textboxes,... i did try to minimize spaces between them. All the textboxes, lables,... must be shown on a form. Is there a way to let say scale all the texboxes, labels,... according to screen resolution? For example if resolution is 800x600, the whole form, textboxes, lables, buttons,... are scaled with 0.5.
Member 4347041
2-Apr-13 11:43am
View
What if i have something like this: (between two classes)
In Class1.sc:
public SaveFileDialog save1 = new SaveFileDialog();
public void SaveF(Form1 f1)
{
... code
}
in Form1.cs, in a method, code is: (c1 is a Class1)
if (c1.save1 == DialogResult.OK)
{
... code
}
But i get the error in c1.save1 == DialogResult.OK. It works if i use c1.save1.ShowDialog() == DialogResult.OK, but it shows dialog one more time. I have already shown the save dialog (code is in Class1.cs)
Member 4347041
31-Mar-13 5:45am
View
What if i have something like this:
if (File.Exists("IExplore.exe"))
{
Process.Start("IExplore.exe", "http://...../");
return;
}
else if (File.Exists("Chrome.exe"))
{
Process.Start("Chrome.exe", "http://...../");
return;
}
else if (File.Exists("Firefox.exe"))
{
Process.Start("Firefox.exe", "http://...../");
return;
}
If user has only one of the browsers installed? But you don`t know where they are?
Member 4347041
30-Mar-13 9:29am
View
Yes, but the thing is that i am calling saveDialog1.ShowDialog(); in one method, now i need it in another method and i can not use .showDialog again. Must use the existing dialog, and use DialogResult (from second method) to existing dialog.
Show More