|
the form getting some data from db, but all the things in the constructor is going well no prob, only when it goes to the ShowDialog(). it get me this error..
in the CALL STACK is this:
......Main() Line 225 + 0x1a bytes
in the output:
A first chance exception of type 'System.AccessViolationException' occurred in System.Windows.Forms.dll
spaps
|
|
|
|
|
Did you check in frm (the form you want to show) Load event or in its Constructor?
|
|
|
|
|
I've been tasked with writing a windows application. On the asp.net side we can use repeaters to create user controls but I haven't found the equivalent for windows forms. I'm trying to create a group of comboboxes from an array of items. Do I need to make collection of them? And how do I position them on the form? All I see is the absolute X Y coordinates, but what if you have 10 or 20 of these items?
Thanks
|
|
|
|
|
u will have to draw them dynamically through frm.controls.add(controlname)
if you want exactly similar to web, use WPF instead of ordinary Windows applications.
Abhishek Sur
|
|
|
|
|
What is difference between "SelectedValue" and "SelectedItem.Value" property in DropDownList component? If answer for this question is this properties are same, why microsoft wrote same two property?
Best Regards...
|
|
|
|
|
hi
the SelectedValue property is used in DataBounding, e. g.
listbox.DataSource = myArryList;
listbox.DisplayMember = "Name"; // Name is the Name of the Property/Column
listbox.ValueMember = "Text"; // Text is the Name of the Property/Column
regards
|
|
|
|
|
i want to develop a small apps which will click on the button of a particular application. how can i communicate with that specific application.is there any idea. if so then please tell me the concept and how to code this type of apps.
Thanks
tbhattacharjee
|
|
|
|
|
Tridip Bhattacharjee wrote: i want to develop a small apps which will click on the button of a particular application
do you want to click on button to your application or other application ?or you just open the other application by clicking the button ?
Tridip Bhattacharjee wrote: how can i communicate with that specific application.is there any idea.
That based on the other application which you are use. if thats also your application you can easily write some interface code .
or if that is some other application you need some API to access.
|
|
|
|
|
no i just want to click on button of other application which developed by anyone. so if u know then plzzzz share the idea with me.
thanks
tbhattacharjee
|
|
|
|
|
If the both application are written in such a way so that it have a common interface, you can use that to communicate...
For example.
Say there is a base Interface which helps in communication.
That interface should be implemented to both the application. Now you can communicate using that common interface.
Abhishek Sur
|
|
|
|
|
Hello,
I am creating the custom web crawler in c#.
I want to incorporate movie capturing of the WebPage in the application.
Where can I find the example of screen capture of WebPages in c#.
Also my exact requirement is that I want to record the full webpage or portion of the webpage for a time specified and then save it as avi.
Thanks,
Bhavin
bhavin.chheda@vizualize.com
a
|
|
|
|
|
Hi all,
How to write a dda communication program?
Regards,
Sangetha
|
|
|
|
|
Why two posts???
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Sorry..Some problem while sending the Question
|
|
|
|
|
Yeah, and it's on your side of the keyboard.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Does this [^] help?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi all,
How to write a dda communication program?
Regards,
Sangetha
|
|
|
|
|
San wrote: How to write a dda communication program?
You research DDA (whatever that is...i have no idea), open up your favourite IDE, start coding, add features as necessary, and finally you release your shiny new application.
|
|
|
|
|
i am using datetime control to store datetime in sql,the format which i am using is creating problem in other systems but that was running perfectly in my system,what do i do?
in aspx file datetime control is this-:
<asp:textbox id="txt_dt" text="<%# Eval(" revised_date=") %>" önfocus="showCalendarControl(this);" runat="server" xmlns:asp="#unknown">
in C# file date is send to sql like this-:
using System.Globalization;
IFormatProvider culture = new CultureInfo("fr-FR", true);
DateTime dt = Convert.ToDateTime((DateTime.Parse((txt_dt.Text).ToString(), culture, DateTimeStyles.NoCurrentDateDefault)).ToString("MM/dd/yyyy"));
<div class="ForumSig">Maniiiiiiiiiiiiiii</div>
|
|
|
|
|
This is considered as rude...
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
what does dat means???????
Maniiiiiiiiiiiiiii
|
|
|
|
|
mnkh wrote: what does dat means
hmm. according to google[^], its an acronym for "digital audio tape".
|
|
|
|
|
hahaha....
Maniiiiiiiiiiiiiii
|
|
|
|
|
If I have an assembly, eg Foo.Dll
And then create a config for it , eg Foo.Dll.Config
What are the requirements for the config file to be uses?
Is it possible to load such config (standard .NET config) for a dynamically loaded assembly?
or can I somehow force a specific config to be loaded so it can be accessed from the Settings class?
The problem I'm facing is a 3rd party tool that loads assemblies from a specific folder.
And I want to supply a standard .NET config for those assemblies.
Right now, those configs are apparently ignored and the settings will fall back to the hardcoded values in the settings class that VS.NET generates..
|
|
|
|
|
Does this[^] help at all?
|
|
|
|