95 Topics

Member Avatar for
Member Avatar for Begginnerdev

Hello my fellow DaniWebbers, I have a discussion topic for everyone. Winforms VS. WPF ITT: Your opinion on the two Your reason for coming to that discision Your approval/disapproval of Microsoft abandoning WinForms How this impacts your vb.net skills

Member Avatar for Begginnerdev
0
173
Member Avatar for PoovenM

I'm creating a custom `ComboBox` that allows the user to select a date; the calendar display is localized making the built-in `DateTimePicker` undesirable (see [here](http://support.microsoft.com/Default.aspx?scid=kb;en-us;889834&x=18&y=19) for more information). I need the UI control to mirror the look and feel or the existing components. Here's what I've tried and the problems …

0
175
Member Avatar for priyamtheone

How can I detect the click event of the close (X) button at the top right corner of the control box of a form/window? Please note, I don't want to know about CloseReason, FormClosing, FormClosed or stuffs like these, unless they are inevitable. I exactly want to detect if the …

Member Avatar for makdu
0
540
Member Avatar for sagngh8

Hi everyone, Please help me on this. “Could not load file or assembly 'Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”. 'NewtonsoftJson.dll’ assembly is required for posting to twitter .The version used is 4.0.3.0. …

Member Avatar for Momerath
0
430
Member Avatar for Mwoot

I have seen similar questions which attempt to solve this issue, but none seem to work for me so far... Basically, for my first VB project, I am creating a virtual keyboard where a sound is played from the resources on KeyDown. So far, the program seems to work except …

Member Avatar for Mwoot
0
206
Member Avatar for galhajaj

Hello! :) i am starting a new winforms project and i need help in some issue. i added a panel with radio-buttons and i want to make a several panels with buttons and other components for each radio-button, for when i choose certain radio-button a certain panel will be visible …

Member Avatar for ddanbe
0
134
Member Avatar for priyamtheone

I am inheriting my own datagridview (say MyDataGridView) from the standard datagridview control. What I want is that certain properties of MyDataGridView should have a different default value than what its base have. For example, AllowUserToAddRows, AllowUserToDeleteRows, AllowUserToResizeRows properties should have the default values of False; so that when I …

Member Avatar for Oxiegen
0
186
Member Avatar for bhagyap

this.tableLayoutPanel1.ResumeLayout(false); An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll occurred for the above line.. Please help me...

Member Avatar for bhagyap
0
216
Member Avatar for bhagyap

Hi.. I am populating a treeview in form1 based on the checkeditems in checkedlistbox which is in form2 but am unable to list the subfolders and files of the checked folder.. Can anyone please help me???? Thanks..

Member Avatar for bhagyap
0
186
Member Avatar for bhagyap

Hi.. I am populating treeview using XML and then trying to access the nodes of treeview into webbrowser to view the files using the following code.. Can anyone please guide me with this?? [CODE] private void treeView1_MouseDoubleClick(object sender, MouseEventArgs e) { webBrowser1.Navigate(treeView1.SelectedNode.Text); } [/CODE] The following is the function to …

Member Avatar for bhagyap
0
201
Member Avatar for bhagyap

Hi.. Following is my code:- public static void Sync(string sourcePath, string destinationPath) { bool dirExisted = DirExists(destinationPath); //get the source files string[] srcFiles = Directory.GetFiles(sourcePath); foreach (string sourceFile in srcFiles) { FileInfo sourceInfo = new FileInfo(sourceFile); string destFile = Path.Combine(destinationPath, sourceInfo.Name); if (!dirExisted && File.Exists(destFile)) { FileInfo destInfo = new …

Member Avatar for bhagyap
0
216
Member Avatar for bilal_fazlani

I am making an invoice system. Please have a look at the images. [url]http://img32.imageshack.us/img32/9216/capture1iv.jpg[/url] [url]http://img839.imageshack.us/img839/1228/capture2cq.jpg[/url] as you can see, the place order button is creating an invoice. I have actually created a junk table and a junk column in it just to setup the invoice_id and load it when "invoice …

0
127
Member Avatar for adamsmith1

I recently published DesktopBootstrap, which is my attempt to factor out the common elements that go into a medium sized C# project, like auto updates, installer, and logging. I'd love any feedback or contributions! It's at [url]https://github.com/adamsmith/DesktopBootstrap[/url] Thanks!, Adam

0
86
Member Avatar for Royson

I have an webbrowser control on my form. I am able display html files in that control. But my page contains some images if i give [B]absolute path[/B] to it then images are displayed. But if i give relative path then images are not shown in the pages. I have …

Member Avatar for hankas
0
2K
Member Avatar for elvis1

Hi guys. I have this ComboBox which I made : [url]http://i.imgur.com/kkB8T.png[/url] I want to reference each item from the combo to a win form . So far Ive this : string comboSelectedValue = comboBox1.SelectedItem.ToString(); MessageBox.Show(comboSelectedValue); It does display of course the value Ive chosen but thats not what I want …

Member Avatar for elvis1
0
158
Member Avatar for Fritz.fx

Hi All. I'm hoping somebody could help me out with this little problem I'm having, I've been at it for 8+ hours so far and just can't nail it. The 2 blocks of code below I'm using to log into a fresh install of phpbb forums, and they work just …

Member Avatar for Fritz.fx
0
436
Member Avatar for sureshprg

I use VS 2008. The forms which I designed in a project does not display in the correct size and alignment when the program is run. Even the controls in that form has changed their relative sizes. What can I do to overcome this problem?

Member Avatar for ddanbe
0
100
Member Avatar for NewOrder

i have a background worker with a sleep method inside a method. (winforms) here is the code that is executed: [CODE] private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker worker = sender as BackgroundWorker; int[] makeSelfMoves = new int[4]; foreach (KeyValuePair<int, int[]> item in replay)// count should be more than …

Member Avatar for NewOrder
0
293
Member Avatar for maac2002

Hi, I'm novice by complete to webservices et al. I've created successfully a webservice and referenced it in a console application. By simplification let assume that the webservice contains a webmethod, the 'classic' CelsiusToFarenheit (string Celsius). Once referenced i can see my new namespace ServiceReference1 with the following classes inside: …

Member Avatar for maac2002
0
874
Member Avatar for sheirali

Hello, I have a very strange issue and am not sure why it is happening or how to prevent it. Envionment: .NET Framework 3.5 WinForm application C# VS2008 Pro Issue: I have a WinForm containing a TabControl which has a custom usercontrol on two of its TabPage. The usercontrol i …

0
93
Member Avatar for poorchap

I have a windows form application(done on VISUAL STUDIO 2008 ). It is about making a better GUI and i make use of a flowlayout panel and buttons. I have a problem on the buttons after copying and pasting it. after double clicking the buttons , it'll lead to another …

0
88
Member Avatar for Dorababu743

Hi all, I designed an application in c# using winforms. I would like to have a serial key or a license such that the license must be valid for some amount of days(suppose a week or so). After that the application should not run on the machine where he installed …

Member Avatar for Dorababu743
0
59
Member Avatar for billybutlin

Hi, I am using visual studio 2008. I have a winforms app that takes data from an xml doc. I store the data in a ms sql database that I have created via a stored procedure. When Irun the app the data from the xml doc is captured and put …

Member Avatar for billybutlin
0
130
Member Avatar for Nitin Daphale

Hi , [COLOR="Green"]In my [B]winform [/B]application , am uploading documents on a [B]server[/B](within a directory). I have a grid that showing list of documents that uploaded on server. Now I want to view a document with [B]a specified document viewer[/B]( or default viewer) as soon as I click on that …

Member Avatar for Geekitygeek
0
85
Member Avatar for avarionist

I am trying create a button that when clicked prints hello world in the text box above it. however im a complete noob on winforms. I normally just make console programs any tutorials on winforms ? with C++?

Member Avatar for avarionist
0
168
Member Avatar for apals

hi folks, i am using windows control library and plugged in a textbox,label,button and called it check_my_id althought the control gets placed on the form. i am not able to change the properties of label, button thanx in advance

Member Avatar for apals
0
190
Member Avatar for Excalibur69

Hi there I am working in Visual Studio 2005 Pro. I have created a WinForm with access to a SQL database. On the WinForm I have two listboxes, the displays DivisionCode and the other DivisionID both having the same DataSource but different DisplayMembers. They occupy the same space on the …

Member Avatar for Excalibur69
0
252
Member Avatar for bluem1

Team - Working on a personal project to help with my sons spelling. I can't seem to find an easy solution to this so I hope someone can point me in the right direction. Textbox 1 will hold the correctly spelled word. Textbox 2 will be typed BUT I want …

Member Avatar for bluem1
0
113
Member Avatar for bluem1

Team - Could someone please tell me I haven't lost my mind? I have done relationships in the past but now they don't seem to work. Have I gone dumb? Creating a winform, using VS2008, sqlexpress & vb.net. My dataset looks like this: -------------------------------------------- Table 1 - BranchInformation BranchID - …

Member Avatar for bluem1
0
149
Member Avatar for XMarshall

Hi, I have declared a Multi dimensional Array in C# like this: [CODE]private System.Windows.Forms.Button[,] ButtonArray = null;[/CODE] Now after inserting into the array, I would like to re-initialize and empty the "ButtonArray"? Please let me know the possible ways to do that Thanks in advance for helping out a newbie. …

Member Avatar for DdoubleD
0
256

The End.