16,012,508 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 .NET 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 Avenger1 (Top 116 by date)
Avenger1
23-Aug-15 11:04am
View
yes, one product can be has multiple carts and "id" in Product table is primary key and i want to add "one to many" relationships
Avenger1
10-Apr-15 16:59pm
View
thanks for helped me
but after i tried a lot to find whats problem, i fixed the problem
With Respect
Avenger1
10-Apr-15 13:46pm
View
bp is "BitmapImage" and its local and first i open the image with "bp" then in another method i try to save it and this is what i m doing in winform and its correct but in wp8 it doesn't
Avenger1
7-Apr-15 14:48pm
View
the number has "*" +5 like this
4+5
13+5
7+5
4+5
.
.
.
Avenger1
7-Mar-15 10:57am
View
can you help me to fix my string.format please
string write = string.Format("{00000}", "{000010}", "{000100}", "{001000}", "{010000}", "{100000}");
g.DrawString((write + q.ToString()), label2.Font, Brushes.Black, rec);
Avenger1
7-Mar-15 10:45am
View
Deleted
how can i set string.format for my question?
Avenger1
4-Mar-15 12:52pm
View
i want just show those properties not other properties
Avenger1
28-Feb-15 17:06pm
View
you know i m not very good yet
and thanks for answer me
but can you please write for me the code?its confusing for me and i can't understand it as well because of my English
Avenger1
28-Feb-15 16:43pm
View
i want the sorting you see before my code
how can i do it?
Avenger1
28-Feb-15 13:18pm
View
it answered but a little problem still in it, i want to show the numbers single then Double-digit and then three-digit of the top to down
Avenger1
28-Feb-15 0:12am
View
between 100 to 1000 images are in that folder
Avenger1
27-Feb-15 16:41pm
View
it opened for 100 time for each image, i want to open once and show all images just like when you select all images then right click and click to print
Avenger1
27-Feb-15 14:04pm
View
it is "true" but its not working
:(
Avenger1
27-Feb-15 10:55am
View
the problem will be show you when you test more than 20
Avenger1
27-Feb-15 10:54am
View
so why for me its not working correct!
can you upload your project for me, please
With Respect
Avenger1
27-Feb-15 9:51am
View
it didn't work
please see these 2 image of my program to see my problem, the first is for 100 image
http://upload7.ir/uploads//1af97ab4a609f7dc76b8dad42236f1ad2a9722d8.jpg
and this second link is for 1000 image
http://upload7.ir/uploads//27a25c8113166567aa0ef5ba5db522599e036cd0.jpg
Avenger1
27-Feb-15 9:48am
View
please see these 2 image of my program to see my problem, the first is for 100 image
http://upload7.ir/uploads//1af97ab4a609f7dc76b8dad42236f1ad2a9722d8.jpg
and this second link is for 1000 image
http://upload7.ir/uploads//27a25c8113166567aa0ef5ba5db522599e036cd0.jpg
i want it sort like this
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,...,1000
Avenger1
27-Feb-15 9:36am
View
it didn't work in vs 2013
Avenger1
27-Feb-15 7:54am
View
i want array string not array file info
Avenger1
27-Feb-15 7:53am
View
i updated my question and wrote all my code
and i added your code, but it didn't answer
Avenger1
27-Feb-15 1:23am
View
i updated my question please look at it and tell how can i give this my images folder without open dialog because i don't want user select images and i want it make from specific folder i want
Avenger1
27-Feb-15 1:20am
View
can you tell me how to make loop it makes all my images to one pdf, one per page
no matter which dll using just i want it work for me
please help me
Avenger1
25-Feb-15 13:33pm
View
Deleted
thanks
i fixed my problem it just needed a counter to stop when its 10 for example
thanks again
With Respect
Avenger1
25-Feb-15 11:40am
View
it didn't work
when i set "e.HasMorePages = True" and i clicked the button to print the print pages counter didn't stop and went more more but i selected just 10 pictures to print
Please help me to fix it
and that link didn't help me
With Respect
Avenger1
24-Feb-15 12:17pm
View
i m using Windows Phone 8.1 and i can't write it
and what's different between "Windows Phone" and "Windows Phone Silverlight"?
Avenger1
23-Feb-15 1:53am
View
when you move a control in your C# design UI, you can set it position with other controls i want to know how to do it in my program
Avenger1
23-Feb-15 1:51am
View
"Thread" and "ThreadStart" are not in windows phone 8.1 and in my programs i must use "thread" like this in my application in windows phone app 8.1
With Respect
Avenger1
22-Feb-15 15:19pm
View
set TextBox like C# designer with other TextBoxes and form
Avenger1
22-Feb-15 14:07pm
View
no its windows phone 8.1 app not store app
help me to fix it, please?
With Respect
Avenger1
12-Feb-15 16:08pm
View
please help me to solve this problem
where is "build definition" in visual studio 2012?
Avenger1
12-Feb-15 15:08pm
View
i didn't understand this topic please explain what should i do
Avenger1
12-Feb-15 15:08pm
View
i tried to re install but it has the same error
and i tried with vs 2010 and 2012
Avenger1
8-Feb-15 10:01am
View
thanks
i wrote while because my last code just could work with while i i forgot to change it
thanks again
Avenger1
4-Feb-15 23:30pm
View
thanks this code answered
can you write to me about Update and search, please?
With Respect
Avenger1
4-Feb-15 14:30pm
View
i don't know how to add and i have just this code
Avenger1
21-Jan-15 15:05pm
View
my project have many classes (but i don't have any problem with classes) and some forms (i mean more than 10 forms and 50 classes) but in my forms for example you want to add this code "int v = x + y;"
but in my project you should change many or some code, for this code and other codes doing correctly
this is my problem, i can't manage them but i m using object oriented
With Respect
Avenger1
17-Jan-15 15:37pm
View
it was just example for picture to i tell what i want and i said i don't know it for video and audio, which object can show videos and audios
With Respect
Avenger1
22-Dec-14 13:14pm
View
i think earth from a graveyard is better
and i didn't write code yet
i need help to know what exactly should i do to make it
Avenger1
22-Dec-14 12:51pm
View
my target is make zombie of image like Hollywood zombie's films
Avenger1
22-Dec-14 12:27pm
View
thanks Bruno Sprecher
i need more help or more idea for making image zombie
please help me
With Respect
Avenger1
22-Dec-14 12:21pm
View
i asked question and i wanted answer not source code
but he answered me like i wanted code
Avenger1
13-Dec-14 10:40am
View
thanks
its good for save it
and now how can i make rectangles like puzzle on my image?
With Respect
Avenger1
2-Dec-14 23:45pm
View
thanks bill but your answer just add first subitem and the second Solution was the great answer
With Respect
Avenger1
2-Dec-14 23:42pm
View
thanks a lot, this code did the best
;)
just can you tel me about the code, please?
i m not understanding how it works
With Respect
Avenger1
2-Dec-14 17:35pm
View
this code showed but for example if i had two items and two subitems it showed me 4 items and 4 subitems
what should i do?
With Respect
Avenger1
2-Dec-14 8:53am
View
i fixed my question
i didn't understand what to do in that solution
please help me to fix it
With Respect
Avenger1
1-Dec-14 11:35am
View
i did it and it was normal but as you see it add just the last subItem
please help me to fix it
With Respect
Avenger1
30-Nov-14 8:37am
View
thanks
;)
Avenger1
29-Nov-14 16:04pm
View
thanks for answer just i don't know why i didn't think to change my code with this you said
;)
and i have one more question why it gave me error when i count items not subItems?
items count and subItems count are one, please explain me to understand
With Respect
Avenger1
26-Nov-14 14:11pm
View
i said in that picture everything
delete empty lines, this is what i want
With Respect
Avenger1
21-Nov-14 14:13pm
View
BillWoodruff can you tell me
why IDM can be default download application in some browsers?
and why i can't?
Best Regards
Avenger1
21-Nov-14 14:12pm
View
i want to download file from internet by my program and i want it send all download automatically to my program
Avenger1
21-Nov-14 13:19pm
View
why IDM can be default download application in some browsers?
and why i can't?
please explain me more
Best Regards
Avenger1
21-Nov-14 12:26pm
View
i using winForms
and when you click the download link, don't download with chrome download with my program
Avenger1
20-Nov-14 10:55am
View
no i don't want to hack
when that file is in downloading i want my user can't delete or move it to when download done
Best Regards
Avenger1
20-Nov-14 7:56am
View
thanks everyone i found my answer
it must use bytes
Best Regards
Avenger1
19-Nov-14 6:04am
View
i said "SAVE"
i don't know what should i do with save like this(i explained in that comment)
Best Regards
Avenger1
19-Nov-14 5:40am
View
for example you are downloading file but you want to close the download and some days or hours later resume that download
how should i save it to do these?
or what should i do?
Best Regards
Avenger1
17-Nov-14 12:41pm
View
i said i didn't understand, my English isn't good
please help me to write that code
Avenger1
17-Nov-14 8:31am
View
i don't understand how to use that code
can you help me to write that code?
Best Regards
Avenger1
16-Nov-14 23:51pm
View
thanks for your good answer, i found my problem but i don't know how can i fix it
in my save code if you see i wrote "width" and "height" these are my image size and when i saving LinearGradientBrush with them i have this problem else no
and when i save without "width" and "height" but using LinearGradientBrush everything is ok
what should i do to it save with those "width" and "height"?
Avenger1
16-Nov-14 16:53pm
View
when i using LinearGradientBruh for write on image, this code in msdn can't work
and it show picture again like that and problem isn't just with jpeg extension
Avenger1
15-Nov-14 23:31pm
View
this is the code i tried but it just work for "open with"
string[] args = System.Environment.GetCommandLineArgs();
for (int i = 0; i <= args.Length - 1; i++)
{
if (args[i].EndsWith(".exe") == false)
{
open.FileName = args[i];
pictureBox1.Image = Image.FromFile(open.FileName);
//pictureBox1.Image = Image.FromFile(args[i]);
}
}
and this one but this one don't do anything
Registry.ClassesRoot.OpenSubKey(@"HKEY_CLASSES_ROOT\jpegfile\shell\NewMenuOption\m", true);
Avenger1
15-Nov-14 17:19pm
View
i improved my question please someone answer what should i do
Best Regards
Avenger1
15-Nov-14 11:47am
View
i did it thanks and i have one more question
my program now is in the context menu but when i right click on image and open it with my program i want to show the picture in picturebox
how can i do it?
Avenger1
15-Nov-14 11:12am
View
as i said i tried what i knew but it didn't answer
Avenger1
15-Nov-14 10:57am
View
i know how to work with registry
i want when i right click in in image it show my program but in the code the up you see the name is folder and it just work for folder
Avenger1
15-Nov-14 10:47am
View
i tried picture, image, img, photo but no one made it for right click
Avenger1
14-Nov-14 8:02am
View
i don't want to change picturebox size, i want to change image size
Avenger1
14-Nov-14 8:00am
View
OK, if i want to make image in bigger size than int, what should i do?
Avenger1
14-Nov-14 7:57am
View
Hiif i do it it can't use in bitmap
Avenger1
12-Nov-14 17:00pm
View
thanks and i have one more question if i want sale program in all around the world, what should i do?
Best Regards
Avenger1
11-Nov-14 12:26pm
View
i want to do it just on uninstall and i using advance installer, please help me to do it
Avenger1
10-Nov-14 10:31am
View
its for update program
and thanks to all my problem fixed with this code
const int ERROR_CANCELLED = 1223; //The operation was canceled by the user.
ProcessStartInfo info = new ProcessStartInfo(@"your program name or address.exe");
info.UseShellExecute = true;
info.Verb = "runas";
Process.Start(info);
Avenger1
10-Nov-14 10:09am
View
i know application must run as administrator to it give access but i don't want to do it and i do it in my code how can i do it?
Avenger1
8-Nov-14 16:51pm
View
i want to send some info from program A to program B and with this program B can't work without program A (means you just can open it from program A) and i don't want program B open without click the button in program A
Avenger1
7-Nov-14 8:49am
View
i did what it said and i did it with a weblog and it give me an error here is the link of the error
http://upload7.ir/imgs/2014-11/48439451470433683263.jpg
Avenger1
7-Nov-14 3:59am
View
no one of those link helped me
and without website can't upgrade with ClickOnce
please help me to upgrade automatically my program without ClickOnce because i don't have website
Avenger1
4-Nov-14 14:08pm
View
Sorry for i add a post
problem fixed
it just needed a HTML code
Avenger1
3-Nov-14 3:02am
View
i m using win form app
please tell me how can i do it in win form
Avenger1
1-Nov-14 9:36am
View
i know if they right click in there they can and its no matter of url
i don't want to change the page
and i should say i disable all links
Avenger1
31-Oct-14 2:30am
View
Deleted
that link was good but it didn't download and the code had many problem
and NASA always has the best
;)
Avenger1
30-Oct-14 13:55pm
View
but for me didn't answer
can someone give me that in a project, please
Avenger1
30-Oct-14 12:17pm
View
why you think like this??????
if i do it to my user, he/she can denunciation of me
and i asked because i want to learn everything in c#
can't i?
With Respect
Avenger1
27-Oct-14 11:01am
View
for example this code
if(a>2)
{
}
else
{
}
and now i don't want to write it like this and i want to write it in binary code i mean this one
11010011100110(1100001>110010)
{
}
1100101110110011100111100101
{
}
is it possible to do it in c#?
Avenger1
15-Oct-14 6:51am
View
how can i do it for my User in my PC?
With Respect "Spaceman"
Avenger1
9-Oct-14 17:45pm
View
sql server express is running
and should i change my sql connection?
i wrote this in my PC
"SqlConnection sql = new SqlConnection(@"server=SPACECRAFT\sqlexpress;database=student;integrated security=true;");"
it running without problem in My PC
Avenger1
9-Oct-14 3:00am
View
i want each line has count not all RichTextBox in one count
Avenger1
9-Oct-14 2:55am
View
can you give me a fixed code because it just give me "0" result
Avenger1
9-Oct-14 2:49am
View
thanks and now i want to do it richtextbox and how can i do it in just one line, if you right in the next line it do it of zero for example
in line one we have 5 "a" and how can i find how many in line 2 not count all lines
Avenger1
9-Oct-14 2:37am
View
what is "r" and "left"?
Avenger1
9-Oct-14 2:35am
View
i want to find a word in sentence like "a,i,o,u" and count how many these words in the sentence
Avenger1
6-Oct-14 4:41am
View
i don't want to set up sql server in another pc
Avenger1
5-Sep-14 4:30am
View
just one link was good but it was in VB.NET but i want it in c#
With Respect "Spaceman"
Avenger1
4-Sep-14 16:41pm
View
i don't want other write this program for me
i want help to how can i do it
With Respect "Spaceman"
Avenger1
2-Sep-14 1:07am
View
i didn't understand all these sentences
can you give me a project about this,please?
With Respect "Spaceman"
Avenger1
31-Aug-14 3:47am
View
i did it but i don't know which sites in there is Authentic and i can trust them
for this i made this question and i need more answer
With Respect "Spaceman"
Avenger1
30-Aug-14 16:51pm
View
Can you give me the link of these website sell software pages, please
With Respect "Spaceman"
Avenger1
30-Aug-14 8:15am
View
thanks but my software will buy in site of sell software like amazon and i want when customer bought that, contact me for the serial and i have no problem with this but if they copy the software i can't understand to it didn't bought and this is all my problem to want to know it
to don't give them the activation code
With Respect "Spaceman"
Avenger1
29-Aug-14 16:27pm
View
Himy app is done to make and now i want to make it don't copy or if it copied to another pc how can i understand it?
its very important for me
With Respect "Spaceman"
Avenger1
26-Aug-14 15:30pm
View
how can i make it as UserControl?
With respect "Spaceman"
Avenger1
23-May-14 22:17pm
View
i wrote the code i wrote in up of this solution, that code doing right but in save image to another layout have problem and i don't know what is the code should i add to that code to fix my problem
With Respect "Spaceman"
Avenger1
23-May-14 14:51pm
View
Hino when i save image for example i save it in Desktop and i going to my Desktop for see that image, it saved but not in which layout i choose in compile
i want to know what should i do with this problem
and thanks "idle63" to now just you understood what i want
With Respect "Spaceman"
Avenger1
23-May-14 14:18pm
View
i have no problem in that code
if you read what i wrote you can understand
it don't save in which layout you want and it save in layout in design panel selected
this is my problem
With Respect "Spaceman"
Avenger1
23-May-14 13:20pm
View
this is my code of change layout
******
private void button4_Click(object sender, EventArgs e)
{
panel1.BackgroundImageLayout = ImageLayout.Tile;
}
***************
and this one for save image
************
private void button3_Click(object sender, EventArgs e)
{
SaveFileDialog save = new SaveFileDialog();
save.Filter = "JPEG Files(*jpg)|*.jpg";
if (save.ShowDialog() == DialogResult.OK)
{
img = new Bitmap(panel1.BackgroundImage, new Size(500, 750));
img.Save(save.FileName, System.Drawing.Imaging.ImageFormat.Jpeg);
}
}
*********
now this is the code
With Respect "Spaceman"
Avenger1
23-May-14 12:28pm
View
i wrote what is the problem
if you don't want don't download it just read and tell me what is the problem and what should i do to fix it
With Respect "Spaceman"
Avenger1
22-May-14 16:39pm
View
your welcome
and "Bangi Blore" i said MORE than 100 class not just 100
;)
With Respect "Spaceman"
Avenger1
21-May-14 1:34am
View
Hithere is no limit
for example for artificial intelligence with C# they write more than 100 class
With Respect "Spaceman"
Avenger1
20-May-14 5:44am
View
HiC# is very better
your app will be ready faster very more graphically and you can make in a shorter time than other languages
With Respect "Spaceman"
Avenger1
20-May-14 5:26am
View
thanks to all for answer
With Respect "Spaceman"
Avenger1
19-May-14 23:26pm
View
HiHere you are
https://www.zeta-uploader.com/1931939985
With Respect "Spaceman"
Avenger1
19-May-14 8:54am
View
HiHere you are
http://msdn.microsoft.com/en-us/library/system.threading.threadpool(v=vs.110).aspx
With Respect "Spaceman"
Avenger1
19-May-14 8:09am
View
Hiyou should change your windows to fix this problem
With Respect "Spaceman"
Avenger1
18-May-14 13:22pm
View
please answer
its necessary
With Respect
Avenger1
18-May-14 3:08am
View
here you are <br>
Telerik 2014 free for ever<br>
its 2 part for download first part is 600 MB<br>
http://dl2.soft98.ir/programing/component/Telerik.Controls.2014.Q1.part1.rar<br>
and this is second part and it is 421 MB<br>
http://dl2.soft98.ir/programing/component/Telerik.Controls.2014.Q1.part2.rar<br>
and these are zip file and password for zip file is : soft98.ir
With Respect "Spaceman"
Avenger1
18-May-14 2:55am
View
Delete it form Control panel and install it again
your problem will be fix
With Respect "Spaceman"
Show More