cpaw88's Q&A profile
Visual Basic Contatenation
I'm very new to VB programming and I am trying to take the first name and a last name from two textboxes and cont. them into a txtFullName Below is the code I have been trying to write and I keep getting a blue error line (Value of type 'String' cannot be converted to 'System.window.Forms.TextBox'. Could somebody help please Ted Public Class Form1 Private Sub TextBox1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtFullName.TextChanged Dim FullName As String Dim FirstName As String Dim LastName As String txtFullName = LastName & ", " & FirstName Thanks guys BeanR solution works fine. ...Show All
Visual Basic Status Bar Icons
I have a form that I would like to hide and show an icon in the statusbar to represent the form, I can handle that with no problems, But after you hide the form, how do you handle the icon with the mouse, so that when a user double clicks on the icon the form reappears Davids Learning are yout talking about a notifyicon in the system tray Private Sub NotifyIcon1_MouseDoubleClick ( ByVal sender As System .Object, ByVal e As System . Windows . Forms . MouseEventArgs ) Handles NotifyIcon1 . MouseDoubleClick Me . WindowState = FormWindowState . Maximized Me . BringToFront () End Sub ...Show All
Visual Studio 2008 (Pre-release) WS* and bindings in WCF
Hello. I have a question regarding WS*. There are at least 9 pre-bindings prepared in WCF and there's custom binding. How can I tell by looking at the code or config file if I'm conforming to WS* or not. For example, I'd like to use WS-Addressing when communicating with Java client. How can I specify I'm using WS-Addressing, or how can I tell if I'm using WS-Addressing or not. Others stuff I would like to do include WS-ReliableMessaging, how can I specify that I'm using WS* thing I think this has to do more with the knowledge of WS" specs but I didn't have anywhere else to ask for help. If anyone can help me out on this matter, that would be greatly appreciated. Thanks. Thanks for your reply. That r ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What is RenderToSurface class for?
Hi! What exactly is this class for I mean now i render to a surface like this: get backbuffer and save it to temporary surface variable, set render target to some other surface, render something and then set render target back to the temporary surface. So it's quite simple without using RenderToSurface class. Is RenderToSurface class used for something different or does it somehow further simplify this process Are there any RenderToSurface usage examples in SDK ...Show All
Visual Studio After installation of windows service, it didn't start automatically
Hi, I am a newbie in .Net 2005. I have successfully created a setup wizard to install my windows service. However, after the installation, I found that the service is in "automatic" state. I have to reboot PC or manually start it then it will become "Start" state. What can I do in my setup project so that it will be in "Start" state after the installation Please kindly help, Urgent. I will grade you. Thanks Hi William, I am a newbie. Please tell me the following: 1) The service handle, are you referring to my Windows Service project or the Setup project 2) Where is the AfterInstall event How can I have that I already added the ServiceController object in ...Show All
.NET Development run stored procedure
how can run oracle stored procedure with input and output parameter in c# and save output parameter hi Geert thank you for your help setareh ...Show All
SQL Server HOW TO DELETE OLD BACK UP FILES AND TRANSACTION LOGS IN SQL 2005
SQL 2005 DOES NOT HAVE THE SAME FEATURE THAT WAS IN 2000 TO DELETE OLDER FILES OLDER THAN CERTAIN DAYS. I DO HAVE A JOB THAT CREATES A FULL DAILY BACKUPS BUT SINCE I DON'T HAVE ENOUGH SPACE, I WOULD LIKE TO FIND A WAY TO DELETE ALL OLD BACKUP FILES OLDER THAN X AMOUNT OF DAYS AND ALSO DELETE TRANSACTION FILES OLDER THAN X AMOUNT OF DAYS. IS THERE A TOOL TO DO THIS. CAN ANYONE HELP PLEASE. EMADKB Unfortunately - it does not seem to control deletion of the backup files! It cleans out information from Datebase logs - but that is not really the problem. At least from what we see - it does not delte the older files. We have a cleanup running but older files do not go away. Bob ...Show All
Visual C++ how to change default build settings?
Just installed vs 2005, and created a new project. the settings for for debug were as follows: Project Properties -> C/C++ -> General -> Debug Information Format: disabled C/C++ -> Optimization ->/02 (speed) Linker -> Debugging -> Generate Debug Info: No how do i get visual studio to realise that this should be the default debug settings Project Properties -> C/C++ -> General -> Debug Information Format: /C7 C/C++ -> Optimization ->/0d (disabled) Linker -> Debugging -> Generate Debug Info: Yes It is quite repeatable. i'll my iexplore is as upgraded as windows update keeps it. (6.0.2900.2180.xpsp_sp2_gdr.050301-1519) I do get the "Creating project 'dum ...Show All
Software Development for Windows Vista Is there automatic reloading and executing when recovering from a crash?
Hi This may be a stupid question but I really need to know what to do in this case. I'm developing a state machine workflow, I have an EventDrivenActivity with a TransactionScopeAcitivty in which I have activities to save to my data model. If something goes horribly wrong after the persistence point on the close of the TransactionScopeActivity before the persistence on idle (I have this set). Can I expect that when the outside factors are resolved the runtime will take care of reloading this partially complete EventDrivenActivity automatically and finish exection from after the TransactionScopeActivty. Or... am I going to need to somehow check for this situation and load the workflow instance to have it continue exection Any help wo ...Show All
Visual Studio Tools for Office how to deploy a database with my Outlook add-in
I have written an add in app for Outlook that accesses data in an MS Access database. When I deploy the solution the database does get copied to the application directory OK but the application does not seem to find the database: can anyone advise how I configure the application project or possibly set up project so that the app can find and access the database after deployment Hi, I guess this has something to do with path to your database. You will need to change your connection string - check out this blog post . Hope this helps. ...Show All
Internet Explorer Development Connection 2 Net Through JAVA using Nothome(IE6, IE7)
Hi All, I am in the enhancement team for a JAVA based application which connect to Internet using the functionality of 'nothome' [ www. nothome .com/IECanvas ] ... and that product was based on IE6 .. but now the problem is unable to connect to net when i installed IE7 ..... so there is something dissimilarities between IE6 and IE7 .. Could you please suggest me how this can be overcomed .. Do you have idea/ Thanks in Advance.... ...Show All
Visual C++ Run time error in very simple matrix code
Hi, this gives a run time error, so it doesnt print anything.. why #include "stdafx.h" #include "stdio.h" void prueba (int a[]) { a[0]=1; a[1]=2; a[2]=3; a[3]=4; } void main(int argc, char* argv[]) { int i=0; int b[4]; prueba(b); printf("%f\n", b ); } when i execute it, it shows a window with this message: Microsoft Visual C++ Debug Library Debug error! Program: ...what ever.exe run time error (Press Retry to debug the application) I press Retry and it shows: what ever.exe has detected a problem and must close. ...Show All
.NET Development What can I append to the end of an expression...?
I am currently working on a problem and need a way to work around an issue in the Regex object in .net. The basic issue is that if the parsing expression contains this: … " price="( <price>.* )"net="( <net>.* )" … But the text being parsed looks like this: … " price="44.54" net="0.26" volume="592100" … (These are just snippets, the expression and the text are both a lot bigger) The Regex.Matches(strStringToParse) continues to try to find the "net=" pattern so it knows when to stop for the data in the price group… it continues to look on beyond the end of the string… the end of the file… and on into the system. ...Show All
Software Development for Windows Vista standard user analyzer tool for vista
hi, the issues that come up with the standrad user analyzer tool comes in the form of a log file. then where it shows the issues in the form of graphical interface resolve this issue. regards, divya ...Show All
Windows Forms Trouble Including Word/Excel Files in msi. File
I have developed a windows app and have added a setup project to the solution. I added the application content files, soutrce files, and primary output files to the setup project. Now, it turns out that one of the folders in my project contains a Word document and an Excel spreadsheet but when I run the msi. file to install the program on my computer I find that everything is OK except that the Word and Excel files are not included in the installation. I can manually copy them there and everything's OK but my goal is to create a CD with the msi. file on it that includes everything (including the Word and Excel files). Can someone tell me how to see to it that those files are included in the msi. file when I build the application Thanks. ...Show All
