I'm writing a C# winforms application that will transfer files from an iPhone or iTouch using the Manzana library.
My iPhone is called Mark's iPhone and I want this to display in the application. I can't find any simple way of finding this. Can anyone help. Please!
...
This seems odd to me. I'm using FolderBrowserDialog to select a folder which will be the destination of a bunch of files. Whenever create and select a folder within the dialog, the resulting folder always seems to be read-only when I view the folder in Explorer afterwards.
I've checked the documentation for the FolderBrowserDialog.Sh...
Hi,
I am drawing a list of file & folder names on a panel and I'm trying to brainstorm the best way to detect if and when a user clicks a file/folder name, as well as what file or folder name they actually clicked.
Below are the methods I wrote so far. My first thought was to piggy back each piece of text with a transparent control an...
i would like the installer to put an icon shortcut to my app created in vb.net. how do i do this?
i am using click once
edit:
i am using visual basic express 2008. perhaps it is not possible to add the icon to desktop using the built in installer?
...
I'm trying to add a .settings file in a windows form application by adding a (whatever) file in the project and have it named smthng.settings. Right after it is created, it crashes (if I look into the project's directory the file is there, but it's not "in" the project). Am I doing it wrong or could it be that the problem lies elsewhere?...
Is it possible to bind a field (textbox) to a Property that doesn't implement a set?
For instance I have an object that implements INotifyPropertyChanged with 3 fields:
public decimal SubTotal
{
get { return this.subTotal; }
set
{
this.subTotal = value;
this.NotifyPropertyChanged("SubTotal");
this.N...
I need to show an integer value in a TextBox in my C# windows forms application (GUI).
I have an int32 value available. I could not find a container like a TextBox that takes int values. The TextBox only accepts Strings. How do I type cast? Any help is much appreciated.
Thanks,
Viren
...
Recently, I encountered this situation where I wanted to display a form on another thread (not the main/UI thread). I used a threadpool thread. The form hosted a RCW (for a COM component). Instantiating the form gave me an exception that the thread must be a STA. I tried to set the apartment state as STA. But, that didn't work either. I ...
Hi guys I just want a simple WinForm app with one button. When I press the button
i want to start the selfhosted WCF service. I want to able to connect to this service with for example another client app (winforms) by just adding a service reference.
However the solution that I created is not working. I can't get connected with adding a...
I have need of a checked combobox control like this one --> DevExpress (I am using this now and would like to move away from DevExpress for many many reasons)
I am willing to attempt my own control though I would like*(read need)* some direction.
I am willing to use Krypton's Free Tools and extend them (if possible) though; I cannot, a...
This is a .NET application on Windows forms using C++/CLI. I have a JPEG that I want to paint in my client area to represent an object. On some occasions -- like when the user is dragging objects around -- I'd like to draw the object with some transparency.
What are the various available ways to do this?
...
Sorry if the title is a little cryptic. Basically I'm creating a zoom control in a c# forms app, the idea is that I can zoom an image by factors, ie. 1x, 2x, 4x, 8x. I need the image to remain pixelated, ie. nearest neighbors. The zooming works wonderfully except that when I select Interp mode to be nearest neighbors when working with th...
I have been debating whether or not to use ASP.Net WinForms to manage content on a website.
Some of the content on this website is already managed through a web application and has thousands of users worldwide managing their own content.
The addition of WinForms would be for specific content that would be managed by Staff, mostly in a...
In my .NET 2.0 application, I need to check if sufficient permissions exist to create and write to files to a directory. To this end I have the following function that attempts to create a file and write a single byte to it, deleting itself afterwards to test that permissions do exist.
I figured the best way to check was to actually try...
I have small problem here, at the application runtime, I move a bit a Control over my Panel (with own Paint method). The problem is, how to catch that event, to make my Panel repaint?
...
I want to reset the time of a date time picker to 00:00 manually. When i select the date from it i get the time of the instance i select the time is there any way i can reset it to given time?
...
The title tells it all, I need to see how others solve this to get a grasp around it. WebForm applications won't help me, as I don't understand WebForms and it would really confuse me (if possible) even more.
If such a example or framework would fit together with Entity framework it would rock my world.
Edit - Added some info:
WinFo...
I am trying to solve an issue in my application. I am developing the application in Vista and it works fine there, but when I take it to XP, the form becomes sluggish and unresponsive. When I watch the windows messages using breakpoints, I find that in XP the form is repeatedly painted about once every second (even though it does not r...
I was just wondering if I'm doing this the correct way. I have 2 forms a parent form and a child form (options dialog). To change a property in my parent form from my child form I use code like this:
// Create an array of all rich textboxes on the parent form.
var controls = this.Owner.Controls.OfType<RichTextBox>();
foreach (var item ...
I have a dynamically created (runtime creation) textbox whose name is available as a string.What i want to do is access this textbox like we do as normal textboxes .Can any one tell me how to cast it as textbox or any other solution
...