MichaelJHuman's Q&A profile
Windows Forms Cell Validating Problem
Hey guys, I currently have a DataGridView with a datasource of business objects. What i am trying to do is make entry into date fields as quick as possible so i have built a simple functions which takes a number and converts it to a date. My problem arises that when the user enters a number to have it converted to a date the cell will not validate and the function will never get called. I try and set it by going dgvWhatever[e.ColumnIndex, e.RowIndex].Value = aDate; but it wont work because the original cell never validates. I found a workaround which was to cancel the cellValidating event on rows which contain a date and this works but if someone starts editing in a new row a date field then it gets cancelled and the ...Show All
SQL Server SQL Management Express Linked Server
I have created a Linked Server (in Server Objects) and set the linked server options. Now I need to set the Provider Options. In help I can see the page for the Provider Options dialog but I cannot get to it. Books-on-line suggest right-click the provider name but that gets me a menu with only a "Refresh" selection. How do I get to the Provider Options (or Properties) Dialog I see registry entries for SQL Server 2000 but I cannot find the same for SQL Server 2005. I do not have a problem selection the OLEDB Provider. I am using a 3rd party OLEDB provider that requires setting some of the Provider Options like "Allow InProcess" and "Use Index as Access Path". In SQL Serv ...Show All
Windows Forms Distributing Runtime files with .net program (Question)
So I heard somewhere you can distribute the .net framework with your .net program. So if someone doesn't have the .net framework on there computer, the program comes with all the runtime files without installing anything, could someone tell me how to do this please simply create a setup and deployment project and thats it! Well, of course, you need to set it up to include your project, create application folders and so on. When installing on the destination computer, the installer automatically downloads the correct version of the .NET Framework, installs it then continues to install your application http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsintro7/html/vbconintroductiontodeployment.asp http://msdn. ...Show All
Visual C# How to install the google calender api
Hi There, I am fairly new to developing in c# and have a quick question I am wishing to install the google calender api into my visual studio ide. The problem is I cant seem to find any setup steps. I can find tutorials once it is installed but none beforehand. Does anyone know any links or know how to install the api Many Thanks Chris ...Show All
Software Development for Windows Vista EventLog.SourceExists on Vista always throws an exception.
Please look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=324053&SiteID=1 ...Show All
Windows Search Technologies WDS 3.01 for WinXP fails to start
Hello, I have just installed WDS 3.01 for WinXP in a laptop running WinXP SP2. The install process ends OK, but it fails to start the Windows Search Service. The Application log in the Events log contains: The Windows Search Service has failed to created the new system catalog. Internal error <7,0x80070002>. Any hints Regards, Marek DataDirectory points to C:\Documents and Settings\All Users\Application Data\Microsoft\Search\Data\ C: is about 46 GB, and there is about 8 GB space left. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiple monitor problem
Hi everyone, I am writing a Direct3D application that run in multiple-monitor mode. If I leave DirectX window on primary display, everything is OK (CPU% is about 1%). As soon as I move DirectX window to second display, CPU usage jumps up 100% even though I have not drawn anything in the windows. Any help would be appreciated. If your D3D device was not created to use the adapter connected to the second monitor then Windows will try to show your 3D content by transferring the results from the first adapter's memory to the second one's. This operation is of course too slow and is all done via the CPU. Read on Multimon support in the SDK docs to see what options you have to deal with multimons in D3D. ...Show All
Windows Forms How to make Invoice Form
By using VB.net How I can design Invoice form Belongs Customers Thanks and waiting your replay Thanks for your replay but my question about the design invoice form by using two tables orders and orders details and read Products table of course i found these tables in the Northwind database and now i could design this form by using 6 routines , 2 stored procedures and SQL Server 2005 Databse and Now I search How I can use bar code reader to read the products and inert it to my inoice form ...Show All
.NET Development A few questions about lifetime services
I’ve been recently testing how does the lifetime service work and I’ve Got a few questions. This is my custom sponsor public class Sponsor : MarshalByRefObject , ISponsor { public TimeSpan Renewal( ILease lease) { return TimeSpan .FromSeconds(10); } } This is the InitializeLifetimeService function that I use in the remote object: [ SecurityPermission ( SecurityAc ...Show All
SQL Server New to Sqlserver - How to go about?
Hello Friends, I am new to Sqlserver. I have installed Sqlserver2005. Can any one tell me how to go step by step in it I want to know the client to use and how to create tables etc through it. I have good knowledge in Oracle. Any links to this step by step approach will be of great help. Thanks in advance Well, this book is called step-by-step -- probably a good starting point: http://www.amazon.com/Microsoft-SQL-Server-2005-Essentials/dp/0735622078/sr=8-1/qid=1160538376/ref=pd_bbs_1/104-1720546-4938320 ie=UTF8 -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- ...Show All
Software Development for Windows Vista 2 or 3 Monitors in Vista Ultimate/AERO: follow up quest for Mr. Vinny Pasceri please, thx!
"Unfortunately we were unable to deliver this experience for Vista. The DPI value is per-system, not per-monitor or per-user. We hope to improve this experience in a future release. Thanks, Vinny Pasceri Aero program manager" Dear Mr. Pasceri, thank you for your response to another forum member. my situation is somewhat different. currently i have 2 monitors (24" Dell 16:10 2405 and 21.3" Samsung 4:3 Model 213T) with XP and it's been working fine for several years. i'm in the process of purchasing a new PC with Vista Ultimate and a new 30" Dell 16:10 monitor, to be used in addition to my existing 2 monitors for a total of 3 monitors. My goal is to use all 3 monitors, but at the very least, use the 30" ...Show All
Visual Basic List box word wrap?
I was wondering if there is a way to multiline listbox strings so they dont get cut off at the end of the box. If not, it would still be helpful to know how to divide two strings into two different items if they get cut off at the end of the box. Thanks Consider using a tooltip, similar to what Microsoft does in their MSDN library. Drop a ToolTip control on your form, then try this: Private Sub ListBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListBox1.MouseMove Dim idx As Integer = ListBox1.IndexFromPoint(listboxpos) If idx >= 0 Then ToolTip1.SetToolTip(ListBox1, CStr(ListBox1.Items(idx))) Else ToolTip1.SetToolTip(ListBo ...Show All
SQL Server How to get predicion for monthly intervals?
hi, I am using timeseries algorithm.I am training my model like the following Date StudId Perf 5/1/2005 001 99 5/10/005 001 97.6 6/1/2005 001 94 6/10/2005 001 99 6/30/005 001 96 10/1/2005 001 100 Like that. I need prediction Output like following Date StudId Perf 10/1/2005 001 99 11/10/005 001 97.6 12/1/2005 001 94 1/10/2006 001 99 ... how to write prediction query for this. Thanks Karthik. I see. With the specified input, you cannot get these results. The forecasting works by predicting the next N steps of the series. In order to get the results you want, your i ...Show All
Visual Studio 2008 (Pre-release) Where can I find LocBaml?
Hy. I've reached the page http://windowssdk.msdn.microsoft.com/en-us/library/ms771568.aspx , but the link provided there doesn't work. Any ideea where can I find LocBaml Thanks. ...Show All
.NET Development Database "design" question
Hi, we are working on a programm that uses a database comparable to a movie-database. Theres a table with all films. Each has an englisch name and sometimes there is a german, italian, spanish, ... translation. We think that it is the easiest way to use the englisch name (which every film has) as default name to add a column for every other language that may occur (that might be about 8). As result we will have ca. 70% empty entries in these 8 rows. But this shouldnt be a problem because we use VARCHAR as type and sql querries only use the default language-column and the column of the language the user wants. Do you think this approach is ok There will be arround 50000 entries in our database. Our should the language translation be seperat ...Show All
