can any body give me Idea about linq in VS 2008
asma_panjabi
Posts
-
linq in VS 2008 -
how to restart application after updating versionhttp://msdn2.microsoft.com/en-us/library/system.windows.forms.application.restart(VS.80).aspx[^] Note: This method is new in the .NET Framework version 2.0.
-
how to restart application after updating versionin C#.net 1.1 i dnt have Application.Restart();
-
how to restart application after updating versionhello, m working on win forms using C#.net i use Appupdater to update version. My application gets updated but the application doesnt restart. When i manually start the application it starts with new version. How do i relaunch my application after Updation?
-
403 Forbidden errori have checked for access it gives me all rights
-
403 Forbidden errorHello, I am working on win forms C#.net and i use AppUpdater to update my version. i Use ServerManifest check option for updating. i have a xml file on server to indicate version and folder to download. i have given all permission from IIS to my folder still i get error as
Auto update Failed: with network error the remote server returned an error :(403)Forbidden.
TO correct try rebooting or relaunching application.
Some suggestions please. thanks in advance -
Appupdater problemI have checked n debugged with the URL it exixts and i get it properly.
-
Appupdater problemHello, m working on C#.net windows application. for version updation i use appupdater dll where in i use virtual directory to update. When i call
appupdater.CheckForUpdates()
i get an exception
System.Net.WebException: The remote server returned an error(404) file not found
Can you give me some suggestions over it.
-
Copying file error.This is the error m getting System.UnauthorizedAccessException: Access to the path "C:\Documents and Settings\abc\Desktop\Debug\Temp\mani.bmp" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
-
Copying file error.Other bmp files work properly even the temp folder exists only some bmp files dnt work
-
Copying file error.I have debugged the code i get proper values in filename and fname. Folders and file have all permissions
-
Copying file error.I have debugged the code i get proper values in filename and fname
-
Copying file error.I have trapped the exception in try catch block.
-
Copying file error.Hi m trying to copy image file from one location to other as below in openDialog box C#.net
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
string filename = System.IO.Path.GetFileName(openFileDialog1.FileName);string fname = Application.StartupPath + "\\\\Temp\\\\" + filename; File.Copy(openFileDialog1.FileName, fname, true);
}
I get Exception as Unknown software Exception(0xe0434f4d) ocurred in application at location 0x7c59bcb1 It works for all files except for .bmp file Ne help for it?
-
Display image on BitmapPlease itz urgent
-
Display image on BitmapI need to send the image from one user to other so i have to copy the file to my drive. So
File.Copy(openFileDialog1.FileName, Application.StartupPath + "\\Temp\\" + filename, true);
string fname = Application.StartupPath + "\\Temp\\" + filename;I have removed Graphics grphs = CreateGraphics(); from try catch but no gain in that. Plz help
-
Display image on Bitmapsometimes it executes for .jpg but it never takes .gif file. Please some solution for it.
-
Display image on BitmapIt doesnt work for any size of file
-
Display image on Bitmapi am trying to pick a image file from open dialog box and send to other user in C#.net
private System.Windows.Forms.OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.RestoreDirectory = true;
openFileDialog1.FileName = "";
openFileDialog1.Filter = "Graphic Interchange Format (*.gif)|*.gif|" +
"JPEG File Interchange Format (*.jpg;*.jpeg)|*.jpg;*.jpeg";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
string filename = openFileDialog1.FileName.Substring(openFileDialog1.FileName.LastIndexOf("\\") + 1);
File.Copy(openFileDialog1.FileName, Application.StartupPath + "\\Temp\\" + filename, true);
string fname = Application.StartupPath + "\\Temp\\" + filename;
if(File.Exists(fname))
WhiteBoard1.iSelected = fname;FileInfo info = new FileInfo(WhiteBoard1.iSelected);
long filesize = info.Length;
if(filesize>0)
{WhiteBoard1.strConfid = strConfid;
WhiteBoard1.LoadImage();
}
}In whiteboard class
public void LoadImage()
{
try
{
Graphics grphs = CreateGraphics();if(File.Exists(iSelected))
{
Image img1 = Image.FromFile(iSelected);
pict.Image=img1;
}
}
catch(OutOfMemoryException)
{MessageBox.Show(msg.ToString());
}
}I get exception as OutofMemory Exception
-
Custom protocol handlerHi i have created a URL protocol handler for my desktop application. I want to pass values to the application and access them in my application how do i proceed.Example username password. My protocol is HKEY_CLASSES_ROOT alert (Default) = "URL:Alert Protocol" URL Protocol = "" DefaultIcon (Default) = "alert.exe" shell open command (Default) = "C:\Program files\Alert\alert.exe" "%1"