Enable any thing in application that has name in the table from sql server...
Hi ...I have table that contain names of some Controls in c# when i login in my my application i want to just show the controls that has name in the table I am use c# thank u for any help
View ArticleHow to change ie version from htmldocument?
I want to change ie version form HtmlDocument: HtmlElementCollection metas = Document.GetElementsByTagName("META"); foreach (HtmlElement meta in metas) { if...
View ArticleRetrieve a List from another form
How does one retrieve a List<string> from another form? The get returns only a string.cte677
View ArticleConverting GPS Coordinates to Screen points
I have a bunch of GPS coodinates that I wish to plot on a form. I am happy using Graphics.DrawPolygon and I know what my boundary coordinate are, but cant figure out how to get decimal GPS...
View ArticleChanging picture through combo box - crashing
So here is my dilema... Form1 user sorts through textboxes and combos ending up selecting a car of choice,,,,car of choice is then display in a Form2 with info and a picture in the picture box. User...
View ArticleDisplaying eventinfo values?
It's easy to obtain the values for the properties and fields or invoke methods but it has been difficult for me to get the delegate from an EventInfo.I have tried following the instructions from this...
View ArticleProblem with .Net Events Triggering Pattern
We have Winforms based Dealer Workstation Application in C#.Net 3.5. Its a real time socket based application.The problem we are facing as follows:- We have a UDP socket that listens Market Data Packet...
View ArticleConverting GPS Coordinates to screen (don't have any zoom level, just the top...
Hi all, I've got a bit of a mathematical problem, and, honestly I'm a bit rusty regarding algebra (at least I think its a math problem). I've got a set of points (geographic coordinates) that are...
View ArticleMake reading of data into SQL CE database faster? Please help me improve what...
I am trying to read large XML files (100,000 rows) into SQL CE 3.5 database file. At the moment, I am using XmlTextReader to read xml file line by line and SqlCeConnect / SqlCeCommand TableDirect to...
View ArticleCheckBox AutoSize Ignored?
Hi, I am creating a custom control to establish the “company style” in an easy to use drag and drop interface. For my checkbox buttons (toggle switches), I want to turn AutoSize off so other users can...
View ArticleNetwork programming using C++/CLI forms
I am trying to write a forms app that will allow me to send a string similar to "^0!NO/r", this string send a command to a system that will also send a response back. In other words the program will...
View ArticleVB audio playback: puzzling behaviour
VB, VS 2012, Windows FormI have timer that, once the main timer has been stopped, triggers a secondary half-second timer to make a button flash between an on and off colour. When the colour is "on", a...
View ArticleSplitcontrol Panel Horizontal Scrollbar not displaying with docked control
I have a Splitcontainer Panel with three controls; a datagridview and two custom controls. Only one of the three is visible at a given time and when the are visible, they are docked to Fill the Panel....
View ArticleResources: a question or two
VS 2012, VB, Windows Form ApplicationI'm new to VS and I have a couple of questions about using resources in project properties.1) I am using various images/icons which seem at some point to have...
View ArticleVB.Net slow function?
Hello everyone,I'm getting crazy because my form is taking up to 48 seconds to show.It's caused by a function that searches for a file in FTP. Each takes 2 seconds and I need to run the function in the...
View ArticleWeb Browser control is not working in Windows 7
Hi,I am opening a pdf using web browser control in a win forms application I am using Navigate method.webBrowser1.Navigate("https://serverurl");Server url returns pdf return type is html. Also I am...
View ArticleHow to new row in Database use EF & BindingSource
I'm writing a Windows application (.NET 4), SQL Server 2008 and EDF 4.0: Table "Currencies" in SQL Server is: ID smallint (auto increment) PK Name nvarchar(100) NOT NULL Code nvarchar(10) NOT NULL Rate...
View Articleget all of forms in project before loaded
to have levels of user access for the users: I have a form. it shows all of the controls exist in forms of win-project. until admin user can manage the controls in app by marking checkboxList. I plan...
View ArticleRight click to select a row in a DataGridView
When using a context menu on a datagridview right clicking doesn't select the record.http://msdn.microsoft.com/smartclient/community/wffaq/wf20.aspx#al3sfum0 gives an answer that I have adapted below...
View Article