Appel's Q&A profile
Visual C# Including " Quotation marks in strings.
I am trying to include quotation marks in a string, and struggling. The string should be; "VOLT" However if I define the string as I would normally; public string VoltString = " "VOLT" "; errors are thrown since the compiler sees the first two quotation marks and thinks that anything between them is the string, then throws an error on the reminder of the line VOLT" "; . One way around this would be if I could remove the quotation marks again though the same issue arises since the code would be; char[] trimChars = {"""}; string voltString = voltString.Trim(trimChars); and again I end up with three quotation marks and the compiler seeing only the fi ...Show All
Visual C++ copying files upon opening the project
Hi, I'm having the following problem: i have a set of dll and lib files that are comming from another inhouse project that are shared (SVN) into a given folder on my machine. Now i can connect to the lib files without a problem thru the extra include path in the linker settings. However i'd need the DLL files to be copied into the debug directory of my project. I could add an extra step that copies them each time I compile the project (thru a batch file), but that would be a bit overkill. Is there any way i can trigger a batch file each time i open up the project so that those files are copied over then Or is there a possibility to tell visual studio to look in a path that is relative to the project file's location Then i could t ...Show All
SQL Server INSERTING Data From Server to Server
hi there! Well i have two Servers on this two Servers i have the Database with the same Tables. But the Database in the Server_2 consists no data, I want to fill the Tables in Server_2 from the Data in Server_1. What i want to do is to is liked this. -- I performing this on the second Server. SET IDENTITY_INSERT [Server_2].[Database].[user].[Table] ON INSERT INTO [Database].[user].[Table]({COLUMN_NAMES}) SELECT * FROM [Server_1].[Database].[user].[Table] WHERE id=25 SET IDENTITY_INSERT [Server_2].[Database].[user].[Table] OFF This did not work and i have the following Error Message its in German but the ERRORCODE is 7391. I already check out the help section in MSDN but it doesnt really helps... Any Ideas Thanks Die Oper ...Show All
SQL Server Outlook 2003 closes when you press print?
when you press print in outlook 2003, outlook closes. Any Help why by the hell did you posted this question in the " .NET Framework inside SQL Server " forum :-) ...Show All
Visual Basic Smtp Email Question
I was just curious if anybody knows how to set the username and password on an account in order for the smtp client to be able to send an email... Thanks All... It seems that port 587 needs to be used for gmail. Spotty, thanks for the help. I never even thought to search all of the forums. ...Show All
SQL Server Lookup on AS400
Hi everybody, I'm new in SSIS and I'm trying to activate a lookup on a table reside on DB2/AS400. Iget the following message when I try to join the input column to the lookup column: TITLE: Microsoft Visual Studio ------------------------------ The following columns cannot be mapped: [STOREK_S, STOREK_S] One or more columns do not have supported data types, or their data types do not match. ------------------------------ BUTTONS: OK ------------------------------ I know both columns have the same format on the DB2 table. What I'm doing wrong P.S: I'm using the IBM DB2 UDB for iSeries IBMDASQL OLE DB Provider as connection. If I try with the Microsoft OLE DB Provider for DB2, I was unable to get the list of ...Show All
Windows Search Technologies Why would anyone want to install WDS 3 instead of 2.6.x?
Is it just me or does WDS 3 just seem broken I am trying to understand why I should install WDS 3 when it seems that many features I use each day have been removed. Examples include requiring an add-in to search UNCs, no Group Policy support, no PDF iFilter. Another problem is many of the iFilters I currently use don't work with WDS 3 like the old PDF iFilter. Does this mean that Search in Vista is just as broken Someone indicated that there was a whitepaper or document explaining how to chose the version to install. Does this document really exist --Greg Yeah I have finally decided to uninstall WDS as it was crushing my workstation and outlook. I really feel they rushed this out the door. Not ...Show All
Game Technologies: DirectX, XNA, XACT, etc. maya 8.5 .x exporter
is there no direct x exporter for maya 8.5 if so tell email me where i can get it. gtsm101@gmail.com Hi there, I've just upgraded my exporter to work with 8.5. Get it here Chad ...Show All
Visual Studio Express Editions why doesn't this code work?
i dont know why, but this code doesn't work. Imports System.Runtime.InteropServices Public Class Form1 Dim MOUSEEVENTF_LEFTDOWN As UInt32 = &H2 Dim MOUSEEVENTF_LEFTUP As UInt32 = &H4 Dim MOUSEEVENTF_RIGHTDOWN As UInt32 = &H8 Dim MOUSEEVENTF_RIGHTUP As UInt32 = &H10 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As Integer = 5 Dim y As Integer = 5 Dim clsNew As New Class1 Class1.MouseClick1() End Sub End Class Public Class Class1 Declare Auto Function mouse_event Lib "user32.dll" ( ByVal dwflags As Integer , ByVal dx As ...Show All
SQL Server Dts 2000 packages with SSIS
I need help, I've got 51 pretty complex Dts packages that are running on Sql 2000. I'm trying to make them run on Sql 2005 without at first migrating them with the migration wizard, since i know that many of them cannot be migrated. I'm using the "Execute DTS 2000 Package Task Editor" to make them run in an SSIS package, some of them are running fine, but many of them, especially those with a "Data Driven Query Task" are returning this error: Error: System.Runtime.InteropServices.COMException (0x80040427): Execution was canceled by user. at DTS.PackageClass.Execute() at Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Exec80PackageTask.ExecuteThread() After many research on the web, i've reinstalled the Sql 2000 tool ...Show All
.NET Development Importing Namespace
Hi I'm developing windows application. I want to use Appsettings in my application. For that i've included the following line in the begining of the class file. imports Imports System.Configuration .......but i'm getting warning that i should include System.Configuration.ConfigurationManager. But i couldn't include ConfigurationManager. So please help me Thanks and Regards Jackuline S Try using namespace System::Configuration; ...Show All
SQL Server Stored Procedures vs SQL Select Statement.
I have a question related to performance. Which would be better performance wise. Lets say I have a Stored Procedure which does a process, and within the stored procedure I need to collect information as it relates to the process. So this may require me to obtain data from several other tables in order to complete the process. Is it better performance wise to execute another stored procedure to collect the data I need (may be one or more then one stored procedure) or am I better performance wise to just embbed the SQL statements within the single Stored Procedures. Ie Stored Procedure up_ProcessAccount Exec up_GetAccountName Exec up_GetAccountHolderDetails ..... or Stored Procedure up_ProcessAccount Select @ACCO ...Show All
Microsoft ISV Community Center Forums whats wrong with this code?
Sub HideGroupBox() If Cells(1, "I").Value = "2" Then DayBox.Visible = False Else DayBox.Visible = True End If End Sub im trying to hide a group box with options if the value in L1 = 2 but in not sure what im doing wrong Hello, Don't know what your DayBox is but it could be that your comparison is not correct. Is the value in Cells(1,"l") a number or string If it is a number then this will not evaluate to be true, you need to say write if cells(1,"l").value=2 Chas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XInput Common controller 32 bit wont install
Hi I need to use XInput for a program I am writing in VB.NET 2005 (to use the xbox 360 controller). However I am not sure what software I need to download. I thought I needed the Microsft Common Controller 32bit but when I tried to install it, it says "Installation did not complete" Please help me! Thanks If you have a 360 Controller for Windows get the driver from here: http://www.microsoft.com/hardware/gaming/download.mspx This will install what you need. You should only need the driver if you have a controller. Thanks! ...Show All
Windows Forms Convert xml to a DataSet
Hi there I've been given a file which has xml. I'm trying to get the file to create a typed dataset so I can access its contents easily and nicely. I've run xsd.exe against the xml file and produced an xsd file no errors reported. I then brought the xsd file into my C# project in VS 2005/.net 2. That all works ok as well. Now I try to add a dataset from the tools window and it asks if I want it untyped or typed based on my xsd file. I go for typed and get a TargetInvocationException. The error doesn't say what caused it, just that it got the exception. I do get soime errors and messages in the error list window of VS though - Warning 1 The 'homePlayers_Constraint1' identity constraint is not declared. D:\My Documents\Visual Studio Proje ...Show All
