|
On this[^] page under Instructions you can download the redistributable packages that contains the entire framework instead of just a bootstrapper.
|
|
|
|
|
Thanks for your help!
The site you recommended contains only the redistributable package. It is not the complete SDK.
Is there also any site?
Thanks !
|
|
|
|
|
Here?[^] Click the "Continue" button next to "validation required" and a DVD image file will become available for download in the Instructions section - if your Windows validates properly. Is that what you're looking for?
|
|
|
|
|
Hallo,
yes it is what I was looking for.
With kind regards
and thank you
|
|
|
|
|
Hi,
I have some win form application - and on the Form i have some UserControl that i wrote -
On the Form i define some button to be as "AcceptButton" ( button of the Form and not the button that is on the userControl ).
Now ... when the form is up i always get one of the userControl button as the "AcceptButton" and not the button that i define.
This happen only on one of the userControl - other userControl work fine.
What to do ?
Thanks for any help.
|
|
|
|
|
hi all
In my application, i have a treeview consisting of some nodes. when i click a node, i am generating some images
and displaying them in a listview.
i am storing the images temporarily in a folder in the application path.
so everytime a node is clicked,
i need to remove the original images and add the new images.
when i tried to delete the contents of the folder, it says file is in use(which is obvious).
Can anybody suggest me ideas as how to remove the old images from the folder?
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
You must have forgotten to close the filestream or something. So all you need to do is make sure you Close() all your streams before deleting all your files.
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
hi,
thanks for your reply. but i am not using filestream class at all.
i used the following code.
foreach (File file in Directory.GetFiles(path))
{
File.Delete(file);
}
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
"i am storing the images temporarily in a folder in the application path"
Does that not mean that your creating a new files, and writing to them during runtime? Because if it does, once youve written the file, you need to close the stream.
If the files are already there, then unless you've got them open somewhere, or explorer has them open. They should just delete fine.
If its the latter, go download 'unlocker' and see whats holding your files hostage.
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
i think u shuld check the permission of the Folder in which u are storing ur image file.Give the permission of write also.
May be it will work for you. or i m not getting ur question
Thanks and Regards
Aavesh Agarwal
|
|
|
|
|
Im not sure, but what you can do is make sure that your byte array isn't empty. And if thats OK, once you set up your memory stream, make sure that it also, is not empty.
Now, im not savvy with sql databases and whatnot, but, could you not do something like this:
Bitmap img = (Bitmap)cmd27.ExecuteScalar();
pictureBox1.Image = img;
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
Waffle, thanx for your response...i tried what u said, bud it did'nt help.
|
|
|
|
|
Hi,
I have a TcpClient connection running and always get this Exception only when running Releas version. I never get this Exception while Debugging same code. Exception always occurs on same place.
System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by
the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was
aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.BinaryWriter.Write(Byte[] buffer)
It is not races... it's run on same thread as application form (at the time when error occurs).
Any suggestions ?
zilo
-- modified at 8:45 Wednesday 10th October, 2007
|
|
|
|
|
I've the same problem long time ago, I solved it by turning off firewall and antivirus program
VirtualVoid.NET
|
|
|
|
|
I've abandoned that solution and picked another one...
no way I can fix that...
zilo
|
|
|
|
|
im generating an xml file. how to add namespace to a node in that xml.
My Xml looks as below,
<?xml version="1.0" encoding="utf-8"?><br />
<StaffingOrganization xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ns.hr-xml.org/2006-02-28 StaffingOrganization.xsd HR-XMLExtension.com AccountExtension.xsd" typeOfOrganization="Customer" xmlns="http://ns.hr-xml.org/2006-02-28"><br />
<Organization><br />
<OrganizationName></OrganizationName><br />
<OrganizationId><br />
<IdValue name=""></IdValue><br />
</OrganizationId><br />
<ContactInfo><br />
<ContactMethod><br />
<Telephone><br />
<FormattedNumber></FormattedNumber><br />
</Telephone><br />
<InternetEmailAddress ></InternetEmailAddress><br />
<InternetWebAddress ></InternetWebAddress><br />
<PostalAddress><br />
<CountryCode></CountryCode><br />
<PostalCode></PostalCode><br />
<Region></Region><br />
<Municipality></Municipality><br />
<DeliveryAddress><br />
<AddressLine></AddressLine><br />
<BuildingNumber></BuildingNumber><br />
</DeliveryAddress><br />
</PostalAddress><br />
</ContactMethod><br />
</ContactInfo><br />
</Organization><br />
<ReferenceIdInfo><br />
<StaffingCustomerId><br />
<IdValue name=""></IdValue><br />
</StaffingCustomerId><br />
<StaffingCustomerOrgUnitId><br />
<IdValue name="Branch"></IdValue><br />
<IdValue name="BranchName"></IdValue><br />
</StaffingCustomerOrgUnitId><br />
</ReferenceIdInfo><br />
<UserArea><br />
<CompanyExtn xmlns="HR-XMLExtension.com"><br />
<WorkPeriodEndingDay></WorkPeriodEndingDay><br />
<TimesheetMeasurement></TimesheetMeasurement><br />
<ReportInterval></ReportInterval><br />
<AllowEmployeeRevision></AllowEmployeeRevision><br />
<AllowExpenses></AllowExpenses><br />
<AllowApproverRevisions></AllowApproverRevisions><br />
<TimesheetBranch ></TimesheetBranch><br />
<ApproverName></ApproverName><br />
<JobDescription></JobDescription><br />
<Corporation ></Corporation><br />
<MainOccupation ></MainOccupation><br />
<EmploymentType ></EmploymentType><br />
<TimeSheetFormat><br />
<Name></Name><br />
</TimeSheetFormat><br />
<WorkingDays></WorkingDays><br />
</CompanyExtn><br />
</UserArea><br />
</StaffingOrganization>
I want to add namespace to the node StaffingOrganisation
please help
Dream it to achieve it
|
|
|
|
|
Nice blank space you got there... do you perchance have html enabled in your post? (ie. you didn't tick the box saying 'Ignore HTML tags in this message' )
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
I developed a desktop application in C#.Net using VS2005.
On one of the form,
On double clicking a Listview, the selected file is opened with the selected application. MSWORD for .doc and WinZip for .Zip
This works perfectly in XP,2003 and other platforms except vista.
The files which i want to open is in the application folder, c:programfiles/myapp.
The problem is Compatibility files.
Can any one help me out??
How can i make my application compatible with Vista ?
Avanish
|
|
|
|
|
Avanish Singh Chauhan wrote: How can i make my application compatible with Vista ?
Don't store data files in program folders!
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|
|
I think the problem is related to Access Rights on the Program Folders folder. You may need your program to operate with Administrative rights in order to acces it.
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
shared user data is supposed to be in the Program Files\Common Files\Company Name(optional?)\App Name folder. That's been the way it's supposed to be done since XP if not earlier. You can force your app to still do so, but you'll end up hammering your users with UAC dialogs in the process.
--
If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.
|
|
|
|
|
hi friends
I want to read network stream with byte[] format, but i don't know it's size. what can I do?
|
|
|
|
|
You call the Read method repeatedly, until it returns a number of zero bytes. Just like reading any stream.
---
single minded; short sighted; long gone;
|
|
|
|
|
thanks, but do you know how I can connect them together?
|
|
|
|
|
Write the bytes to a MemoryStream, then you can access the data once you are done reading. Basically thr MemoryStream will allocate an initial array, then keep moving the data to a larger and larger array as needed.
If you need to support large amounts of data use a FileStream instead.
|
|
|
|