Frankelman's Q&A profile
SQL Server how to connect to SQL server express 2005 database at the same time from both SSMSE and VB2005 application ?
Here is the situation: I have SQL server express 2005 installed on my pc as instance SQLEXPRESS. I have created a Visual Basic applicaion with the following as connection to the SQL server express 2005 running on the same PC: **************************************************************************************************** Dim lconnectionString As String Dim builder As New SqlConnectionStringBuilder Dim cmd As New SqlCommand Dim reader As SqlDataReader Dim parameter As SqlParameter builder("Data Source") = ".\SQLEXPRESS" builder("Initial Catalog") = "" builder("AttachDbFilename") = "C:\My Documents\Visual Studio 2005\Projects\abc\abc\abc.mdf" builder("Integrated Security") = True builder("User Instance") = Tr ...Show All
Visual Basic how I can get the name of last event in VB.NET?
Hello, I need to know how I can obtain the name of a current triggerred event in a such code: Private Sub dene(ByVal sender As Object, ByVal e As EventArgs) _ Handles btnOne.MouseHover, btnTwo.MouseHover, btnTwo.gotfocus, btnTwo.lostfocus Dim clickedCtrl As Control clickedCtrl = DirectCast(sender, Control) lblDisplay.Text = clickedCtrl.Name ‘.... name of the control ........ ' ----here I need to know where come here, for example from gotfocus of btnTwo or lostfocus of '....btnTwo in the list of Handles keyword. End Sub Could you please tell me about how I can get the name of last event in VB.NET Thanks nuranozcanli@bil-kay.com Nuran By this rutin I can receive the name of control and control type.But I need ...Show All
Smart Device Development Can I add Macromedia Flash Object (*.swf) on Smart Device VB?
Please Help...(T^T) ...I have to developer some Mobile-Learning on Smart Device... But need to add some animation object... I've heard something... FlashLite2.0 or something... can I add that object to Smart Device Project [VB] ..... (T^T)... (T^T)... (T^T)... Please find more information on the Adobe Developer Site ( http://www.adobe.com/devnet/devices/ ) on how to get Flash support. If animated GIF would do the job as well, check the following article: http://msdn2.microsoft.com/en-us/library/aa446483.aspx ...Show All
Visual Studio Team System 0 error(s), 47 warning(s) --> Failed Compiling sources
Hi! I have no errors, but the build failed Where can I set that option Thanks! Regards Simon release.txt Solution: Betting.sln, Project: Betting.csproj, Compilation errors and warnings BettingOfferGroup.cs(375,17): warning CS0168: The variable 'ex' is declared but never used Event.cs(481,17): warning CS0168: The variable 'ex' is declared but never used KindOfSport.cs(100,17): warning CS0168: The variable 'ex' is declared but never used Solution: Logging.sln, Project: Logging.csproj, Compilation errors and warnings Log.cs(16,18): warning CS1591: Missing XML comment for publicly visible type or member 'Interwetten.Web.Logging.Log' Log.cs(41,28): warning CS1591: Missing XML comment for publicly visible type ...Show All
Software Development for Windows Vista Como Creo una aplicacion asp.net de workflows...
Hola amigos, tengo un problama no tengo claro que creo primero si el flujo de trabajo anivel de diseno(graficamente), utilizando los diferentes comoponentes que estos me ofresen o hago la interfaz en ASP.net y de hay la parte logica de la aplicacion, muchas gracias, y espero su respuesta y talves si tienen algun ejemplo a mano que me puedan facilitar,, Hola, Este es un forum dedicado al soporte de Windows Workflow Foundation. Hay algun impedimento en el desarrollo simultaneo de ambas partes Quizas encuentres respuestas mas razonables en un foro de architectura de programas. ...Show All
Visual Studio Team System code is being ignored by the Code Analyser.
It believe some of my code is being ignored by the Code Analyser. I am using the Code Analyzer that comes with Microsoft Visual Studio 2005 Team Edition for Software Developers. I configured the code analysis for the project as follows: Right click on the project in the solution explorer and click properties. Click on the code analysis tab Disable all rules but Naming Rules Enable Code Analysis (defines CODE_ANALYSIS constant) close the properties window Right click on the project in the solution explorer and click run code analysis. The result is that it finds only one violation in a designer.cs file but no violations in my written code, (and I know there exists naming v ...Show All
.NET Development Has anyone written .NET Client to consume Java Web Services?
I'm planning to write a web service client in .NET c# to consume a web service provided by a customer, which is written in Java and runing on Apache web server. Has anybody done this before Could you share what I need to be aware of TIA Hi, How can i consume a java web service through c# Thanks, D. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Keyboard/Mouse Input under XNA Framework
From my reading, my understanding is that XNA Framework will use XINPUT. By design, XINPUT handles game controllers specifically and does not address keyboards, mice, or other HID devices. AFAIAA, current guidance given for DirectInput to XINPUT transition on the Windows platform is to handle keyboard and mouse input via traditional Windows messages or System.Windows.Forms events. However, we are now being advised that cross-platform application implementations built on XNA Framework will need to refrain from referencing the System.Windows.Forms namespace, and that ideally our application window will be managed by GraphicsComponent. Furthermore, on the 360, there would likely not be any Windows message stream from which to handle input fro ...Show All
SQL Server Neither Exist or Not Exist seem to be working... help!
the follow SQL returns the following error. select companyintid from company where [dbo] . [exist] ( select companyname from companies where companyintid = 'CM00006070' ); ------------------------ERROR--------------- Msg 156, Level 15, State 1, Line 4 Incorrect syntax near the keyword 'select'. Msg 102, Level 15, State 1, Line 4 Incorrect syntax near ')'. select companyintid from company where exists ( select companyname from companies where companyintid = 'CM00006070' ); ...Show All
Visual Studio Express Editions Deserialization
This is very aggrevating!!! I have serialized three simple questions (textboxes) that is entered by the user. I cannot figure out how deserialize and have the three textboxes show what I have serialized My code (Visual Basic Express) on my main form is as follows: Imports System.Xml Imports System.Xml.Serialization Imports System.IO Public Class Form1 Private theCollectionOfPatients As New ArrayList() Private Sub DoSerializePatient( ByVal patientcollection As ArrayList) Dim theTypes(1) As Type theTypes(0) = GetType (ArrayList) theTypes(1) = GetType (Patient) Dim theSerializer As New XmlSerializer( GetType (ArrayList), theTypes) Dim theWriter As New FileStream ...Show All
.NET Development Help me, for some C#
C# Solution Explorer Tips & Tricks Everything cannot how to work from C# Recent Projects(all cannot to write/read). HELP ME! How to get for C# Recent Projects working!! How can to start C# Recent Project from Start Page. Only Recent Project, Getting Started, Visual C# Developer News, but cannot work anything C#. All Recent Projects cannot to work, cannot run get MainClass!! hohsen@hotmail.com hohsen wrote: C# Solution Explorer Tips & Tricks Everything cannot how to work from C# Recent Projects(all cannot to write/read). HELP ME! How to get for C# Recent Projects working!! How can to start C# Recent Project from Start Page. Only Recent Project, Getting S ...Show All
Windows Forms DataGridView in windows application
Hey all I"m new to c# win app, eventhough I wrote some projects for asp.net using c#. My question is about DataGridView. I have added this control to my application and binded it to my access database. I run my application, added some rows to the grid and made some modifications to existing rows but when I exit my program the changes and addition of the new rows is not saved in my access database. How do I make these changes saved Is there any "autosave changes" property :) Thanks in adavance :) in the dataset designer, select the tableadapter and in its properties, there are the update/insert/delete commands. Create these commands :-) once done, then whenever you are going to ...Show All
SQL Server SQL Query Help - Table DataType
Hello Everybody, Iam having a problem with a certain query in SQL Server 2005. Please help me find a solution. This query is used as a Stored Proc. The query is as follows: DECLARE @myTempTbl( ID bigint, num bigint ) INSERT INTO @myTempTbl SELECT **** LEFT OUTER JOIN ***** LEFT OUTER JOIN ***** UNION ***** L ON ***** GROUP BY **** SELECT A.*, @myTempTbl.num FROM A INNER JOIN @myTempTbl A ON A.ID = @myTempTbl.ID The error I get at 'SELECT A.*, @myTempTbl.num FROM A INNER JOIN @myTempTbl A ON A.ID = @myTempTbl.ID' is 'Must Declare the scalar variable @myTempTblId'. Please help me out. Thanks in advance. You just forgot the key word TABLE in you DECLARE statement. DECLARE @myTe ...Show All
SQL Server How to fix DT_Text and DT_NText Read Only in Script Component
I have a script component that I have written and works as long as the Output columns on the script are string types. When I change the output column type to text (since the size could be essentially unlimited) it gives an error in the script component that the property is read only. Here is the code line that fails with Property Payments is read only. Output0Buffer.Payments = fieldValues(i) If I change the column payments to DT_Wstr it works without issue, but I want to use text incase the value is large. Here is the error if you try to run the actual script even though I know it has an error. TITLE: Package Validation Error ------------------------------ Package Validation Error ------------------------------ A ...Show All
Visual Studio 0xc0000005 Error
I just installed Visual Studio Standard on a brand new machine. When I try to run any exe file in a bin folder of a project (or if I run the apllication from VS2005) I get the following error: The application failed to initialize properly (0xc0000005). Click on OK to terminate this application. Any ideas what may be casuing this I have this exact same error going at this moment, it is preventing me from accessing the internet or running my spyware/adware/virus protection. Help in solving this would be greatly appreciated. I do have one thing to contribute had not installed anything when this happenend to me. ...Show All
