|
by: seash |
last post by:
Hi
I need an OpenFileDialog with my own gui of the dialog box. i want to use the functionality given
by the object of the OpenFileDialog component with my own dialogbox....have any ideas...
Is it possible to override the ShowDialog() method so that i can induce my own windows form dialog..?
--need help
-----seash
|
by: don |
last post by:
has anyone experienced problems with interactions between OpenFileDialog and FileStream? When I select "open" from an OpenFileDialog the subsequent calls to FileStream do not create a file. If I do anything else, eg, navigate to other folders, and then press "cancel" the file is created. This occurrs just with the simple code below. Any ideas
private void button1_Click(object sender, System.EventArgs e
// open the common dialog bo...
|
by: Sonia Igla |
last post by:
Hi.
I use in my windows c# project External
Dlls(Assembly.LoadFrom(dllName);...).
All work fine.
I add to one of my forms using of OpenFileDialog. First time I call
this form
It works. Next times I get Error: "File or assembly name Extended.dll,
or one of its dependencies, was not found." in all modules this dll is
using.
This happen only by OpenFileDialog selects files (by cancel not
|
by: fperfect13 |
last post by:
Hi,
I have the folowing exception
Exception : System.NullReferenceException: Object reference not set to
an instance of an object.
00000019 3:30:48 PM at
System.Windows.Forms.UnsafeNativeMethods.GetOpenFileName(OPENFILENAME_I
ofn)
00000020 3:30:48 PM at
|
by: hullnwm |
last post by:
In my asp.net page I'm attempting to use the OpenfileDialog object to
offer a common dialog box for the user to select a particular file on their
hard drive that may subsequently be uploaded
to our website.
The reason I'm doing it this way is that I've read that by using the common
dialog box, the security issues are based on the logged in user.
Of course, I added a reference to System.Windows.Forms and added a using
clause.
|
|
by: De kessé |
last post by:
Im trying to do this from ASP.NET and it does not work.
Dim ofd As New OpenFileDialog
Openfiledialog is not there.
But I can find it in the object browser.
In my web config i can see this
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
|
by: marcus.kwok |
last post by:
I am having a weird problem and I have can't figure out why it is
happening. I create an OpenFileDialog and set a filename filter. When
the dialog first opens, the filter works correctly, and only the files
I want to see appear in the file list box. When I change the filter to
one of the other filters, all the files in the list disappear. If I
then manually type a filter into the "Filename" textbox, then the files
appear and the filter...
|
by: Mike |
last post by:
Hello all, I'm trying to work with the openfiledialog and being new to vb
and vb.net I'm having some problems. Wherever I have Me.OpenFileDialog1 I
keep getting the following error:
C:\Visual Studio Projects\ImageLoad\OpenFileDialog1.vb(66):
'OpenFileDialog1' is not a member of 'ImageLoad.OpenFileDialog1'.
Can someone please tell me why and how can I correct it. Here is my code.
Thank you in advance.
|
by: =?Utf-8?B?TW9uaWNh?= |
last post by:
Hi
1- I want to pick a file in my website project using asp.net
2- I added System.Windows.Forms by add references to my project.
3- I attach a button to my project.
4- in side Button1_Click(object sender, EventArgs e) I wrote:
OpenFileDialog filedlg = new OpenFileDialog();
filedlg.Title = "Choose an image to upload";
filedlg.InitialDirectory = @"c:\";
filedlg.Filter = "Image Files (JPG, JPEG, GIF, BMP, TIF,
|
by: Martijn Mulder |
last post by:
It strikes me that System.Windows.Forms.OpenFileDialog seems te
'remember' which directory it was in last, even when a new
OpenFileDialog-object is created for every access to the file system.
This 'persistence' also holds between different invocations of the same
program. Even when the .cs file is re-compiled, the OpenFileDialog again
opens in the directory where it was directed to the previous time.
1. Is this a 'feature' of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|