Michael Howard - How hackers operate

Visual C# Express can be installed on any of the following systems:
Tyko,
We haven't announced when Beta 2 will be available yet, stay tuned....
Gimped,
I hear what you're saying with not explaining try/catch, but what I was trying to show was how the tool makes adding try/catch statements easier rather then best practices for try/catch. The ResetForm method doesn't have an "expected" exception so I set it
as System.Exception to catch any exception. I was going to add the try/catch code for the WebRequest where I could catch the System.Net.WebException type and see if the error was a 404 error, but it involved lots more time, code and might have been confusing
for someone who hasn't programmed with the System.Net namespace before.
Thanks,
-Dan
More VS express stuff please
Maybe a video on how to save data in different ways like, databases, textfiles, inis, the registry, xml files and/or any other method(s).
Is the final version going to be a free download or will it cost money?
C# is pretty fun i must say, tough a bit hard to learn when the only prior "programming experience" you have is asp, php and mirc script.
But it will probably be much easier when the help is done.
Another wish: to be able to sort any block of lines of code alphanumerically.
I think the best way to allow the copy ability is to add a context menu option called Copy Image and then set its click Event code to the following:
private void copy_click(object sender, EventArgs e)
{
ClipBoard.SetDataObject(detailedPicture.Image,true);
}
I might add this only copies the image thats in the detailedPictures box AKA the big picture
This will allow you to paste into what ever...
Visual C# Express Edition features are really cool... Code maintainability and development are still more easy. Its great.
localhost.GalleryComponentDataSet myset=(localhost.GalleryComponentDataSet)e.Argument;
// int progress = 0;
// BackgroundWorker worker = sender as BackgroundWorker;
// worker.ReportProgress(progress++);
//Load images
foreach (localhost.GalleryComponentDataSet.PicsRow row in myset.Pics)
{
try
{
error here-->>Stream ImageStream = new WebClient().OpenRead("http://localhost/newalpha/"+String.Format("ViewPhoto-{0}.aspx?Width=50",row.ID));
Image img = Image.FromStream(ImageStream);
//UrlAndImage.Add(System.Configuration.ConfigurationSettings.AppSettings["WebsitePath"] + String.Format("ViewPhoto-{0}.aspx", row.ID), img);
UrlAndImage.Add("http://localhost/newalpha/"+ String.Format("ViewPhoto-{0}.aspx", row.ID), img);
}
catch
{ }
finally
{
// worker.ReportProgress(progress++);
}
}
//Send result back to Form
e.Result = UrlAndImage;
sivko23 wrote:
So the error is when i try to open the GoogleForm.cs in Designer wiew
"""Warning 1 The designer cannot process the code at line 117:
this.googleToolStrip.Raft = System.Windows.Forms.RaftingSides.Top;
The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again. C:\Documents and Settings\sivnovagod\Desktop\googim3\GoogleImagesSample\GoogleForm.Designer.cs 118 0
"""
I also get a build error
"""Error 2 The type or namespace name 'RaftingContainer' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?) C:\Documents and Settings\sivnovagod\Desktop\googim3\GoogleImagesSample\GoogleForm.Designer.cs 314 38 GoogleImagesSample"""
Do you know a way around this?
Id be very grateful for your help.
Cheers
Ivan Simurina
Dear Sir
i have downloaded the code and tried to run it but it gives following error , pl help me
Ajay
Warning 1 The designer cannot process the code at line 117:
this.googleToolStrip.Raft = System.Windows.Forms.RaftingSides.Top;
The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again. C:\Documents and Settings\Administrator.AJAY\Desktop\GoogleImagesSample_final\GoogleImagesSample\GoogleForm.Designer.cs 118 0
Cab anybody share source code? Lnks are broken :(