primevest's Q&A profile
Windows Forms shared SQLconnection accross all forms.
okay. I decided that making a connection to the database eachtime each forms opens up is a bad idea.... bad idea in the sense its slow.... is possible to share a sqlconnection from form to from by using a class. like this ------------------------- ...Show All
Windows Forms TableLayoutPanel - Minimum Cell Size
How can I get a TableLayoutPanel to respect the minimum size of any given control in any of its cells If I have a 2x2 table layout with a simple panel in each cell, and all the panels have 100, 100 as their MinimumSize, I get some funky overlapping when the form gets small enough that the table layout panel needs to make its cells smaller than 100x100. How can I get it to stop doing this Thanks. Try this... ...Show All
.NET Development Shared Memory or Memory File
Hi all, Is it feasible for me to create a chunk of SHARED MEMORY or a MEMORY FILE in .net to share some objects across boundary of processes It will be great, if you can post some working samples! Thanks, Ning I hope the following links will be of help to you http://www.codeproject.com/csharp/DotNetNamedPipesPart1.asp http://www.codeproject.com/csharp/DotNetNamedPipesPart2.asp Thanks --Nihal ...Show All
Visual Studio Team System VSTSIntro.ppt - Web access work items
Slide 36 of VSTSIntro.ppt states that there will be web access to work items. You might want to remove this if this is now not the case. http://download.microsoft.com/download/0/7/3/073F2E33-6226-4431-AABC-EAFC69ED931B/VSTSIntro.ppt I argue that future versions of VSTS will require the implementation of a web client. As VSTS become ubiquitous and users require timely access to its services anytime and anywhere, the ability to access work ...Show All
Windows Forms How do I make a spell check...?
Hey, I searched for this, but none helped... I am using Visual Basic 2005 express, and I need a spell check, but I can't figure out how to do this, if someone finds/knows a program that will let you put the words in it and it will give me the VB2005 express code thats fine, but if you want to give me code...I would be fine getting a 3 word spell check so I can go from there...ummm..I dont really want to use the MS Word spell check, k ...Show All
SQL Server Object reference not set to an instance of an object
I enter http://localhost/reportserver and get the error message from Reporting Services:: "Object reference not set to an instance of an object" along with a link to Get Online Help. I click the link to get the "Details" and am told "We're sorry, there is no additional information in the error logs or knowledge base. I've run the RS Configuration Manager many times to try different options, I've also run SQL Server Co ...Show All
SQL Server Minimizing Penalty (weighted sum of false positives plus false negatives)
I am using Naive Bayes, Decision Trees, and Neural Net (SSAS 2005) to predict which of two states each record belongs to. How can I enforce a different penalty for a false positive versus a false negative (I am assuming that in some sense the mining algorithms can then minimize the total penalty). Gee, I don't see any responses. Have I asked a stupid question Am I looking at datamining from ...Show All
Visual Studio 2008 (Pre-release) How to make a TextBox to AutoSize in a Grid?
When I put a TextBox into a StackPanel it automatically sets its height to ensure that you can read the current font. How can I get this behaviour in a Grid ATM: I have the problem that the text looks different on Vista (Segoe UI, 9pt) and XP (Tahoma 8pt). I can't read the text on XP systems but can read it on vista ... Now I always use independent values for Size, Width and Height (not pt, px or something like that) but still I have to assign ...Show All
Visual Studio Express Editions command button as Accept button
like in asp.net - how can I make a command button as accept button in c#.net You should also be sure to set the DialogResult property of your dialog form to OK or another affirmative value so that the caller knows the results of your dialog. ...Show All
Visual C# unicode charaters
Does anyone know how do I read UNICODE character from a text file and write it to another file. Because I have problems reading/writing non ASCII characters like: s,o, etc. I'm using this: StreamReader reader = new StreamReader(filename, Encoding.Default); Or be explicit about it: Encoding.GetEncoding(1252) ...Show All
SQL Server Help with pointing to an image!
I am new to SQL and I am trying to have a column in my table that points to images I have stored in a directory on my system. I cannot seem to get it to work correctly and I am wondering if someone might be able to help. I want to use this image for each record with the other information on my windows form but I cannot seem to get the file pointer right. Any help would be appreciated. Thanks. If the images are o ...Show All
Visual Studio Express Editions MicrosoftR Visual BasicR 2005 Express Edition: Build a Program Now! from Microsoft Press
Good morning everyone! I understand that there is a downloadable version available of this manual so that those of us who are exploring Microsoft Visual Basic 2005 Express would have the benefit of text devoted to opening up the possibilities and providing the tools to make exploration and creation even more exciting. Sure, it's challenging to sort of go by your guts to pick up techniques for developing software products and services, but ...Show All
Visual C# C# literature for a beginner
Hi all, I was just wondering what books you might recommend to an aspiring programmer. I thought that i would start with C# as it seems to be pretty popular. Any info would be greatly appriciated. Thanks -Brandon Hi, The books recommended cover C# language well, but you need to understand that knowledge C# without a very good knowledge of the .NET Framework will not help you much. You need to go through books which p ...Show All
Windows Forms BindingSource (BindingList<T>) Filtering and Sorting Examples for Objects
We have a bunch of business objects. We want to enable the sorting and filtering functionality that the BindingSource gets when bound to a Datatable or some such. Does anyone have any examples or even a starting point for me on how to impliment the right things in the BindingSource so that it will allow sorting and filtering of our business objects Thanks! Did you ever find any VB code for this - I am l ...Show All
Visual Basic Get information from database
Hello I was using Visual Basic 6 and when I want to get information from a database, I write: Dim Con As New ADODB.Connection Dim rst As New ADODB.Recordset Set Con = New ADODB.Connection Set rst = New ADODB.Recordset Con.Open "Provider=MSDataShape.1;Extended Properties='Jet OLEDB:Database Password=111';Persist Security Info=False;Data Source=D:\Programs.mdb;Data Provider=MICROSOFT.JET.OLEDB.4.0" rst.ActiveConnection = C ...Show All
