Visual Basic .NET » Windows Forms
Carrying over of text to popup box
Hi friends... Here is the solution. Parent window will have below code.. this.TextBoxComments.Attributes.Add("onclick", "var strReturn; strReturn=window.showModalDialog('PopupComments.aspx',document.getElementById('TextBoxComments').value,'status:no;dialogWidth:380px;dialogHeight:250px;dialogHide:true;help:no;scroll:no');if (strReturn != null) document.getElementById('TextBoxComm
How To get Browser Information in ASP.Net?
Hi, Regards, Satheesh
Solution To ASP.NET 2.0 (igration Problems) may be help full
*Hi All ,* * I have just documented the problem and solution i found * ** *Problem:* *Getting 'Webform_Postbackoptions is undefined' errors in ASP.NET 2.0(mostly occurs when migrated from ASP.NET 1.1 to ASP.NET 2.0 and on click of any submit button (link button))* * * *Solution:* Try out this if you are using any Compression module Check it out in you
Question about FULLPATH property of windowsform.treeview con
nevermind i figured it out, thanks anyway
Access in VB 2005
It is not possible to launch an MS Access form from VB.
Question about windowsform treeview control
Using C# I want to know if it is possible to limit the user to only being able to see the path of the current node. In other words I dont wan't the user to be able to see any expanded stuff that isn't part of the path of the selected node. So I need some kind of function that will CollapseAll() except the part of the tree the user is currently working with... If this is possible does anyone
Question about FULLPATH property of windowsform.treeview con
~USING C# I need to be able to scan the fullpath of a treeview node for a particular word. If the word is found don't execute code. psuedo code: if (the WORD is not found) execute the fullpath of a node looks like this: Crap\Crap\WORD\Crap or Crap\WORD\Crap\Crap\Crap I DONT want the function to catch stuff like this: Crap\abc WORD\Crap or Crap\abcWORD\Crap any help would be appreciated th
Timeout and DeadLock in SqlDataAdapter.Fill method
HI Avinash, Use SELECT ... FROM <tableName> WITH(NOLOCK) like this in your Stored procedure. RamaSrinu A On 7/12/06, Avinash <avinashpatil1980> wrote: Hello, I have following GetDataTable method wich will return a DataTable object from given command object. This is working fine when amount of data is not too much. In case of large data some ting like 60-70 thousand records,
How to implement Undo and redo operations in .NET
I also agree. You will need to track the history for starters, and you will need to flag your actions somehow so that when you do an undo/redo, it is tagged with a way of determinning which direction to go with the event. for example, if you're last action was to delete, it should be flagged somehow so that your code knows it was "delete" and performs the opposite of delete. Personal
How to wire events programmatically in asp.net
sam wrote: Hi I am working on ASP.net. I want to add a button control programmatically(C#) And trying to give event on that I added control but getting problem to wire event to that. I came to know that we can't wire events on post back events in asp.net. We can only wire events on form load or oninit() function member.. But I need similar functionality that when I click on button event
This has got to be so easy!
Trap the KeyDown event instead. This will allow you to handle arrow keys as well (which I assume is what you want to do) In your handler, check for the e.KeyCode value and move your picBox accordingly. If you still have problems post here, and I will give you some sample code.
dataset design considerations
thank you for the response the table adapters in 2.0 are quite different to the dataadapters of 2003, which i was used to, but i suppose the dataset design should be the same thank you again i will be curious to hear of anyone elses experience with the two
Excel file processing
I also have same problem. Please, give us oldedbConnection.String of your working code. I thing that there is a problem. 10x Pavi wrote: Well I am not sure were could be the error.I used excel and this is what I wrote to perform the action to pop data into grid. Sub popgrid() Dim con as new oledb.oledbConnection("Provider...) con.open() dim cmd as new oledb.oledbcommand(select * fro
Save as Visual Studio 2003 project ?
I had over 20 services to test. I ended up re-writing my web service program.
Pls help me....
Hi, i using microsoft reporting services for reports. The reporting services will generate the reports in html document format(.mhtml). I used an iframe object to to load the report document. But the iframe creating lot of problems. I having a script to resize the iframe dynamically. The script working good for the first time only. When i load the second html document in the iframe using src prop
open email tracing
You can create a custom HttpHandler along with a distinct file extension for the new HttpHandler to handle. This way when a request comes into the web server with that extension you can do your processing either with the file name or any parameters passed along. There are many articles regarding custom HttpHandlers on the web. Just google it. Remember, that for your solution to work the end use
Passing variables between forms in different projects
Good Morning If have a both project in single solution then declare a your variable as a public and access it using projectA.xyz if xyz variable declare in projectA Try this. And reply me. Have a Nice Day
Smart Client application in 2.0 - Solution Required
Hi Group, Currently I am developing one smart client application in .net 2.0. I tried the following code of codeproject.com to call the server application. I have developed one server application and client (console) application to achieve this. string strURL = ""; string sClassName = "MySmartClient.SmartForm"; Assembly assemblyContent = null; assemblyContent = Assembly.LoadFr
>>> i have an idea about MS VS.NET, and wonder yours.....
hmm, good idea wrote: Good offer, but needs too much technics... ----- Original Message ----- From: "< g n d z k d r >" To: "ASP.Net Community" Sent: Friday, July 07, 2006 4:08 AM Subject: >>> i have an idea about MS VS.NET, and wonder yours..... > > while programmers coding their programmes in MS VS.NET, when they want > to use a library (i mean namespace) they must add it to
Run Access Queries through ADO.NET
I have an Access DB with saved "Queries". I want to use ADO.NET to run these queries. How do I directly run these queries? If that is not possible, how do I retrieve the SQL commands of these queries so that I can construct a OleDbCommand object out of them and run them that way? I am talking about the "Queries" object inside an Access file. That is, when you open the database file using A
Help with windowsform.treeview control .NET 1.1
I am working with a treeview control that navigates a database. The depth of the tree is totally dynamic in the sense that it starts by displaying the organizational structure of the business using the software. To explain this my root nodes are NorthAmerican, Canada, Europe, and Australia (this is for my example, there could be any number of these "system" nodes). After clicking a "system" no
Running Queries in Access Database using ADO.NET
Access "queries" are analogous to SQL Server Stored procedures. Use in the same way.
Thank you, Peter!
Hi Peter, Thank you, I received the attachment. And thank you for the help. Best wishes, Nilukshi.T.E From: "Bradley, Peter" <pbradley>Reply-To: DotNetDevelopmentTo: <DotNetDevelopment>Subject: Re: Web service in ASP.NET 2.0Date: Thu, 6 Jul 2006 10:32:07 +0100 .shape {;} p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:
Formating data in Excel using c#
How about if you get your excell data in Data Table and then manipulate ? .... Raj
Windows.Forms.TreeView problem
Finally, found: Not too obvious, yeah. :-/
HTML controls and Webform controls
It would not be a huge performance issue if you user
Windows Form ListBox
Thanks. I'll check into that. But in the meantime, I was able to figure out that a class's "ToString" method is what actually displays in the ListBox. So after I added an override ToString() method to my class, I was able to keep the collection of objects in my ListBox, and still have it display exactly as I wanted to. Thanks Joe Enos
Whats the point of a GridView, I cannot hide a column????
If you are using a DataGridView, you can simple hide the column by selecting the column and then use the visible member. So if your data is bound to DataGridView and you want to hide the 5th column, DataGridView.Columns.Visible = false If binding a data source, this must be done after the binding. This will keep the data in the DataGridView but hidden from the GUI.
Drag and Drop Form designer
U can use Amaya9.0 On 7/12/06, andyb <abrudtkuhl> wrote: You can do drag and drop in Visual Studio.Net. >
RichTextbox control
hi; i have a free richtextbox control for web forms. Attached. On 6/29/06, Cerebrus wrote: It would take a *lot* of effort to create such a custom control. As I said earlier, look for a workaround, or if your client permits it, think about purchasing a commercial control. Since I haven't created any Custom controls for the web, I can't really advise you on that. > -- Nesim TU
Wake from Hibernation
I'm trying to find a way to code an application that will wake the computer from hibernate and standby. I've figured out how to programmatically enter those modes, but I can't seem to get it to wake up. I'm trying to get it to work on Win98, ME, 2000, and XP. It's for doing some automation jobs. Does anyone know how to perform this programmatically?
Handling build.cancel with spawned applications
I run perforces' Jam to build my applications on various platforms. Under VS 2003 I was able to install a break handler in a modified version of jam and capture breaks sent by Build.Cancel within studio. There is some clean up I like to do when the build is cancelled. Under VS 2005 it seems that the process is terminated when I cancel the build in a way that is not caught by my break handler

[Page 1] [Page 2]
Home