thuyen's Q&A profile
Visual FoxPro VFP9.0 Data Access from .NET
Hi all I am trying to acces VFP 9.0 Data from a asp.net web site and here is the problem In the visual web developer express when I hit "View in browser" The web page comes up correctly then I copy it to \\localhost\vfptest and open it in the browser and get an error indicating that vfpoledb cannot find/open the specified file. So then I go back to VWD and set the project to the IIS directory directly and hit "view in browser and it will display correctly without the error so the difference seems to be if the page is accessed as either // localhost/vfptest (creates error) or // localhost:1117/ vfptest using the integrate ...Show All
Visual C++ no compile tool is associated with the file extension
I have been using C++ for a long time, but have just recently been forced onto a new compiler. I've installed MSDN and Visual C++. Now I can't get anything to compile. So I'm back to the basics with a simple Hello World program. I still get: Cannot compile the file 'c:\c++\HelloWorld\HelloWorld.cpp'; no compile tool is associated with the file extension. Where should I be looking for the compiler settings and what should they look like Have you created a new C++ project and added your code to that It looks to me like you're not creating a new C++ project, or your install is broken. Which ver ...Show All
Visual C++ build error
after downloading VC beta 2 and spending hours trying to get the header files to be recognized and figuring out how to build a hello world file, i decided to move on to chapter 1 of tricks of the windows game programming gurus and run the sample game called freakout, i recieve this error 1>------ Build started: Project: freak1, Configuration: Debug Win32 ------ 1>Compiling... 1>blackbox.cpp 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error ...Show All
SQL Server Going From SQL Server 2000 to 2005
It's been nightmarish and I need help fast! Customers now have to buy 2005 and we've discovered that the migration isn't smooth. I copied a 2005 and attached to it in 2005. Running under Windows XP Professional, I tried to run our application written in ColdFusion. We discovered that a query fell over (seemingly) having to do with bit datatypes Error: 'Unspecified error occurred on SQL Server. Connection may have been terminated by the server.'), NULLs, or something. A programmer got around it, as a test, by converting all the bit fields in the table to int, which we naturally can't do as a real world solution. I think upgrading the OS, incl ...Show All
SQL Server inner join on reverse records
I have some data that looks like this Col1 Col2 SumCol XXX,YYY, 5 XXX,ZZZ,6 ZZZ,XXX,7 YYY,XXX,2 I want to do a inner join on that data so I get this XXX,YYY, 7 XXX,ZZZ,13 Right now I'm using a CTE set to do that, is there a better way akula wrote: I want to do a inner join on that data so I get this XXX,YYY, 7 XXX,ZZZ,13 Why that should't be a YYY, XXX, 7 ZZZ, XXX,13 or YYY, XXX, 7 XXX, ZZZ, 13 ...Show All
Visual Basic ListBox Populating
Hello Again! My program is getting ever so close to completion... Right now I have a listbox that needs to be populated with specific data from my sql db, the thing is I need it to grab just specific rows of data with a matching value... I can populate my listbox 2 different ways but not the way I need it done. The first way was the obvious, by clicking on the data bound items and filling in the Data Source, Display member and Value member. The problem with that is it displaying just the first half of the data because there are 3 catagories for that particular column. If I can get it to tell which catagory i want to use then I got it! ...Show All
Visual Studio Express Editions Why can’t update my access database?
Hi... I need help with this code, I try to update a register but nothing hapends, no error, no warrnings but no update too. I’m using VWD Express and Access. Protected Sub cmbActualizar_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles cmbActualizar.Click Dim cliente As New ClientesDS Dim taCliente As New ClientesDSTableAdapters.DSICatCtes1TableAdapter taCliente.FillByCodCte(cliente.DSICatCtes1, CodCte) With cliente.DSICatCtes1(0) .ApMat_Cte = txtApMat.Text.ToUpper .ApPat_Cte = txtApPat.Text.ToUpper .Tel_Cte = txtTel.Text .Nom_Cte = txtNombre.Text .Mail_Cte = txtMail.T ...Show All
Windows Forms list boxes more HELP needed.
I need a way of making list boxes center the values displayed within the list. I also need to find a way of making them unselectable without setting enabled to false or SelectionMode to None because the form won't load the way I tryed doing it if you know of another way please help me. Okay, the more that I participate  ...Show All
Windows Forms DataGridView Refresh (no prior solutions work)
All, Preface: I really appreciate the help. I know questions similar have been asked many times because I've seen them in these forums and all over Google. No solution works. Problem: When adding entries (rows) to a database, the DataGridView that is bound to the dataset connected to that database does not refresh. Description: I essentially have bound my DataGridView to an MS Access file containing the table personnel. When I use the provided adapter to insert a row in the database, no matter what I do, the DataGridView does not refresh. As you can see in the compiling code below, I have tried several things. Code: Form1::Per ...Show All
SQL Server Triggers and information through serial port!!!
Hi to all, i have a trigger in sql server 2000 and i need to send some information through the serial port, i have an asp that do that, but i need to know how to link the trigger and the asp or the trigger and other component so i can send the data through the port, Thanks to all.... Regards... visit www.clubcorsachiwas.com.mx The passion for the Tuning! ...Show All
Windows Forms Need to build a listbox containing a checkbox and image
I need to build a control that looks like a checked listbox but with an image between the checkbox and the label. I don't need any databinding support. I tried to 'OwnerDraw' the CheckedListbox but it will not support owner drawing. I tried to create a user control 'container' that contains a checkbox, picturebox and label. This 'row' con ...Show All
Visual C# Challenge here
Is it posible to put in your project a new file like an executable, and with c# to extract(copy) them where ever the user wants to is like making a simple setup... Yes, or any other language you want. But offcoure you do it in C# You can use #Zip to create and extract archives and for the understanding of embedded resources read this two articles: Understanding Embedded Resources in Visual Studio .NET Runtime Embedded Resource Manager ...Show All
.NET Development How do i get Reference of a running application
If a windows application is running, how can i get the reference of the form in that running application from my project. I am developing in .NET. No the form is from differnt application developed in VB.Net. I need to monitor what is happening i that form and also fire some if required. ...Show All
.NET Development DNS.GetHostEntry doesn't display the hostname as dns.resolve did
In a small console application I used DNS.resolve to obtain either the IP-address(es) or hostname depending on the parameter passed (computername or IP address). I've rewrited the little thing in Visual Studio 2005 and so I saw that I needed to use dns.GetHostEntry instead of dns.resolve because the last method has become obsolete. So I did. But when executing the code the behavior is somewhat different: dns.gethostentry doesn't retrieve the hostname if you pass an IP address, were dns.resolve has no problem in showing me the hostname found. Is this a known issue Is there a workarround or solution ...Show All
Smart Device Development What to use instead of environment variables?
I'm in a situation where I'm porting some existing software to Windows CE and used environment variables in the original. The idea is to share a common string between dll's in the running process where the "main" dll posted a environment variable FOO=BAR and all other dll's could search and see if FOO was set. The sharing only happend inside the process so two applications wouldn't conflict with each other. Is there a similar way to implement this on CE I could use registry but still it would be an out-proc solution where two running instances could eventually catch things which didn't below to their process. Thanks in ...Show All
