wazimu's Q&A profile
Visual Basic .vbproj error
After a destructive systems restore, reinstalled vb7 but keeps giving me .vbproj error. It says that there is a file (WindowsApplication,vbproj) not installed but it exist in the vbwizard's file tree. How to make sure that the project type (.vbproj) is installed Does some sort of partial installation of Windows 2000 need to happen These errors due to the misinstallation of the.vbproj "engine". Could they be caused by something not in XP but in Windows 2000 ...Show All
Visual Studio Team System Publishing errors when updating frozen fields from MS Excel
Why do I get "publishing errors" in the following scenario: - open a set of workitems in MS Excel - clear the contents of a field that has a frozen rule (for all rows) - publish the changes - select a new valid value for the field that was cleared (for all rows) - publish the changes --> conflicting field errors occurs You have to select either the "Local version" value or the "Server version" value. What's the difference with the first change (from old value to empty value) Refreshing the list does not change this behavior. We use this functionality a lot and our project managers are complaining about this behavior. Any idea if this is fixed in SP1 or if a possible ...Show All
Windows Forms Problem in accessing data from DataGridView cells
hello every one! well I got this query here, I'm really stuck in this error. I'm working oin a master detail form in .net 2.0 C# in Windows Forms. its a System.ArgumentException that I'm getting here. I've these dataGridview on the form. I've made a typed dataset for it. the tables are these PurchBill(PurchBillID, VendID, Bookno, BillDate) Purch(purchID,purchbillID,Serial, ModelID, PresentAt,PurchWarranty,PurchPrice) ProdLine ProdModel and vu_manNames thats a view I've set up seperate dataGridViews for Purch, ProdLine and ProdModel and for selecting the manufacturer name here. Look at this code private void saverecord() { try ...Show All
Windows Live Developer Forums bulk geocoding canadian addresses
im looking for tool to bulk geocode canadian addresses. will have to geocode over 200, 000 addresses at first then 10-20% on daily basis. steph I also think the cost of using mappoint for 40,000 geocodes a day is going to send you broke. We decided it was worth it to develop in house then spend 200K+ with Mappoint. Its a real pity, mappoint does a good job, get a quote first before committing to the service. Hopefully they offer you a great rate. John. ...Show All
Visual Studio Tools for Office Placeholder text dissapear in Word 2007
Hi, I have an add-in for Word 2003, written in VSTO 2005 with C#. I'm now checking its compatabillity with Word 2007 and I found that on RTL paragraphs, the nodes' placeholder text disappears. Is it a known bug is there a workaround Thanks! Shay ...Show All
SQL Server SQL Tracing Data
Hi when i set SQL Tracing to 500 i donot get any trace data,however if i reduce it to less than 500 i get trace data with queries taking greater than 500 also why is it so...why did not those stored procedures taking greater than 500 came when i had set the duration =500 What do you suggest should be the ideal time that queries should take to execute...! ...Show All
.NET Development Calling object???
in the following: private int width = 10; public int Width { get { return this.width;} set{ this.width = value;} } How can I tell or get from within the get or set methods what object is calling them Thanks, Devin could you not just use interfaces on the object interface IFullAccess { int width {get; set;} } interface IReadAccess { int width {get;} } Then specify the parameter type on the member as the required interface so that even if you pass the complete object, the member will only have access to what the interface allows Or is this wrong Not enough (as you can always cast) ...Show All
SQL Server Upgraded XP and my MSSQL 2005 no longer Login ID / Can't start server
Hi I upgraded my XP and when attempting to restart my web site using MSSQL 2005 my login credentials were not recognised. Now, the Databse does not want to start and I can not login to check error logs. I have enclosed the error message that I am experiencing. Can anybody please help. Regards =================================== Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again. =================================== An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Shared ...Show All
Visual C# Casting a control Array using 'as'
Hi, I am trying to find labels in my TabPages and it doesnt seem to work Label[] l = tabControl1.Controls.Find("myLabel1",true) as Label[]; // i get a null value but it works if I replace Label[] with Control[] on the Left hand side and do not cast Why is this not legal... All I have in my tabpage collection are label controls. Now I know that there can be other controls and that may be the reason why it does not try to cast. But it can always throw an exception if it cannot cast all of the controls to the requested type. I hope I make sense in what I am trying to do Regards tribal ...Show All
Software Development for Windows Vista Is LVS_EX_COLUMNOVERFLOW implemented?
I can't make this style work. The listview has 5 columns, but only 2 and a part of the 3rd column fit into the client width. The listview has the following styles: WS_CHILDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE WS_EX_CLIENTEDGE | WS_EX_LEFT | WS_EX_LTRREADING | WS_EX_RIGHTSCROLLBAR LVS_EX_DOUBLEBUFFER | LVS_EX_HEADERDRAGDROP | LVS_EX_FULLROWSELECT | LVS_EX_HEADERINALLVIEWS | LVS_EX_COLUMNOVERFLOW It contains 10 items and is in icon view. I would expect a chevron button being displayed in the header control, but there isn't one. If I explicitly set the HDS_OVERFLOW style on the header control, the button is displayed. So why doesn't LVS_EX_COLUMNOVERFLOW work Is it not implemented TiKu Just to confirm, I also could ...Show All
Windows Forms Textbox Jam
The textbox is bound to a binding source the data is verified on the keyup event; Private Sub tb54_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles tb54.KeyUp Dim tb As TextBox = sender Dim tp As Integer = tb.SelectionStart - 1 Dim i As Integer = tb.Text.Length For k As Integer = 0 To i - 1 If Not Char .IsDigit(tb.Text.Chars(k)) AndAlso Not tb.Text.Chars(k) = "." Then tb.Text = tb.Text.Remove(k, 1) tb.SelectionStart = tp Exit For End If Next End Sub if the text box is empty & a character is put in that's not a dot or digit it's removed & the app jams , the curso ...Show All
SQL Server Error when attempting to backup to a second disk file
In SQL Server 2005, via the GUI, I wish to backup a database to an additional disk file (there is already an existing backup disk file for this database), so that I can have more than one backup. I've added the new disk file name, highlighted it, and clicked OK. I get an immediate error (see below). Note, the 2nd error message is specifying the existing backup disk file, not the new one I'm attempting to create. "Backup failed for Server 'WCS-DEV-TPA'. (Microsoft.SqlServer.Smo)" "System.Data.SqlClient.SqlError: The volume on device 'D:\Program Files\Microsoft SQL Server\MSSQL\BACKUP\WCS_ADV_Longmont.bak' is not part of a multiple family media set. BACKUP WITH FORMAT can be used to form a new media set. (Microsoft.S ...Show All
Visual Basic VB Screen Sharing
I'd like to write a program that allows me to work on my PC from other PCs in our LAN, or over the internet. (a kind of screen sharing app). I think it would be fairly easy by sending compressed images over TCP to the guest, then having the guest sending input back to my PC. So how do I: Take a screenshot Compress it to a small JPG Send it over a TcpClient connection Thanks in advance. There are so many programs out there that do this like VNC, NetMeeting, BindView NetRC, pcAnywhere, Remote Desktop Connection. Some of which are freeware or shareware others are inexpensive. I do not see why you would attempt to reinvent the wheel if you are just looking for the end result. If you are looking to learn something new th ...Show All
Visual C++ WINDOWS.H already included
------ Build started: Project: testfile, Configuration: Release Win32 ------ Compiling... main.cpp C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxv_w32.h(16) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h> How do I fix this problem Yes. I've found the solution, After removing all #include <windows.h> from the files in the project, I've added #include <afxwin.h> instead. Thanks, Yossi ...Show All
.NET Development Connecting to a non webserver to pass XML messages (Visual Basic 2005)
Hi All, I'm a newbie and need some code (VB2005) help. I need to connect to a server on a specified port (non-web service) so that I can issue and receive XML formatted messages. How do I go about doing this I think that I have the right code to connect to the server (Example Dim client As New TcpClient(host,port) ) but lack the understanding on how to pass/receive XML messages. Thank You Eugene Hi The following code snippet may help you. The code connects to the server using TcpClient (the server should listen to TcpClient so your client can connect to it). Then it sends xml data and then it receives data from server. The sequence of sending/receiving data may be different than this ...Show All
