Canito's Q&A profile
Visual C++ tchar into a string
hello again. I have a new question for you Guys : how can I Convert what is in my buffer (TCHAR) and copy it into my string This could sound stupid to you but i'm not very at ease with tchars and stuff. Thanks! Edit : here a code sample of what I approximatly need to do :P string strPath; TCHAR buffer[MAX_PATH+1]; DWORD iNombreChars = sizeof (buffer); iNombreChars = GetCurrentDirectory(iNombreChars, buf ...Show All
SQL Server Trimming characters
I have a field called sku in a table... many of the sku fields have data as ep12345678. I need a sql statement that will update all data in that field from ep12345678 to 12345678. So I need to trim off the 'ep' Any one know how to do that update table set column =replace(column,'ep','') where column like 'ep%' or update table set column =right(column,8) where column like 'ep%' Denis the SQL Menace http://sqlservercode.blog ...Show All
SQL Server Problem Installing SQL Express 2005
When it is checking my PC configuration, I get the error message: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine KODY Error:2147942527 (0x8007007f). For help, click: http://go.microsoft.com/fwlink LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=7034 ...Show All
Visual Studio Express Editions Retrieve data from Excel and store it in Access through VB
Hi, I am using VB express 2005 to create an interface to retrieve data from Excel spreadsheet then store it into my Access database. I am able to retrieve data and store it in a dataset then display it in a dataGridView. But I am not sure how can i store the data into an Access database. I tried to connect VB to Access by opening a connection and then create a table in Access. I created a DataGridView and bind it to this tab ...Show All
SQL Server dynamic SQL function for string (or value) combining from relational table into a flat view
Hello! Here's my question: I have three tables; 1. Event table IDEvent Date Description 1 10.01.2005 test 1 2 10.01.2005 test 2 3 18.01.2005 test 3 2. Customer table ID ...Show All
Visual C# Force download
Hi, I'm trying to force a download from a file. The code below works fine, for a file on the hard disk. Problem is that the files are stored in WSS (in a SQL database). Currently I'm using this code: string currentURL = Request.QueryString["filename"].ToString(); string filename = currentURL.Substring(Request.ApplicationPath.Length).TrimStart('/'); Response.TransmitFile(currentURL); Response.Write(currentURL); HttpRequest requ ...Show All
Visual Basic explanation of delegates
I'm reading Wrox: Professional VB 2005, and also Microsoft's visual basic 2005 step by step. In March I'll get Microsoft's visual basic 2005 core reference. In the meantime I'd like some detailed explanation of delegates. I can use them but don't really understand why I should. Can somebody give me a reference to some in-depth discussion of delegates dennist685 dynamic behavior asynchronous programming ...Show All
Windows Forms Customizing Comment Web Pages
Anyone have any idea and/or samples of new layouts for the comment web pages I'm releasing a control for sale, and I want to improve them a little (like implementing cross-references and some of the other things that the current pages don't do ...Show All
Visual Studio Express Editions Two Forms
Hi all This is my first post I think it is going to be a simple solution and i'm going to look stupid but here goes anyway. I have two forms within my project and I want a button to bring up one form from the other and vice versa. can anyone tell me hot to acheive this please They both appear to be called form1.vb Regards, Padrick hi, they both have the same name how do you have a different namespace for each one anyway you ...Show All
Visual Studio An unkown errer while viewing report on client machine!
Hi to all, v have developed a client/server (desktop application: no web development is included) application. well the reports on client machine retreive data from server and display them using dataset. most of these reports are made up of 2,3 subreports. well there is an error which client receives while trying to view the report which is something like this: Invoice report cannot open. err "Error in file C:/temp........... ...Show All
Smart Device Development Auto-generated Code
Hey everyone, I have a VB2005 project with a SQL Mobile database. The database is rather large. I've created parameterized queries to load grids and selected the grid task to Generate Data Forms. I delete the New menu option and the editable form. I am just using the detail form that opens when a record in the grid is selected. My problem is that when I click on a record on the main grid during testing, it takes an extremely long time ...Show All
System Center Windows Vista
Hi, as I'm interested in testing Windows Vista, I wanna download it. But, I'm not a MSDN subscriber. So, to become a member, I need to have a Benefit Access Number. Where do I get it At first, please note, these forums are for Windows development ONLY, anyway, to be MSDN subscriber click here ... ...Show All
Software Development for Windows Vista Problem with MSVidCtl?
I have some code that uses MSVidCtl to build a DShow graph for the purposes of tuning TVTuner type cards. For the most part it works great, but some devices NVTV for instance ( and some Avermedia, but not all) I recieve the following error 0xC0040596 - A filter or Pin implementing IAMAnalogVideoDecoder could not be found in the current Tuner Segment. I have definately selected the correct input device (there is only one, named "NVTV T ...Show All
Visual Basic visual studio tools for ms office
I am trying to figure out how the vs tools for ms office works. I have installed it but cannont find it listed as a program or anywhere within VS. How do I get to it. Thanks, Fred H Hi, When you create a new project you should see the office project types in the list. Ken ...Show All
.NET Development How can i validate xml document with xml schema ?
Can any one help on this yes - using XmlDocument.Validate. see - http://msdn2.microsoft.com/en-us/library/ms162371.aspx ...Show All
