Fraas's Q&A profile
SQL Server Connecting to the SQLEXPRESS on your computer
How do I connect to the SQLEXPRESS installed on my computer without network connection (as a standalone computer) Thanks. hi, local connections are usually performed via shared memory, so you do not require network protocols to be enabled to connect to a local instance.. what kind of problems are you experiencing you usually generate a connection string like those provided in http://www.connectionstrings.com/ , thus something similar to Data Source=(Local)\NamedInstanceName;Initial Catalog=the_database;Integrated Security=SSPI; regards ...Show All
Visual Basic Migrating from vb6 to VB.Net (doevents)
Hello, I have a library that works well in vb6. But, I want to migrate to VB.Net. Its like my client application connects to the server and binds to it. (SMPP v3.4). I have SMPP states, 0=no active tcp connection, 1 = active tcp connection, 2 = active SMPP session and 3 = waiting for SMPP session establishment. Not, in vb6, I do something like, Do DoEvents Loop Until smpp.State <> 3 Now, in VB.Net, it becomes Do Windows.Forms.Application.DoEvents() Loop Until smpp.State <> 3 But, when I call this code, I get this error A callback was made on a garbage collected delegate of type 'SMPPlib!Project1.TBase+Delegate_zTimerEvent::Invoke'. This may cause application crashes, corruption and data loss. When passing delegate ...Show All
Windows Forms help in windows service
hi , here is a little problem i am facing and it is urgent please help me , i have a windows service that updates records in a database , that database is also used by a gui application now , the path of the database is relative to my installation of windows service application in an app.config file it is something like this : <add name="projectConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database\project.mdb" providerName="System.Data.OleDb" /> </connectionStrings> now when i install the service it looks for the database in system32 folder and does not get the database since a windows service runs under system32 folder it looks for the database ...Show All
Visual Studio 2008 (Pre-release) ETA on WPF/E beta?
Hi, I’m just wondering if anyone can give som indication of when a beta version of wpf/e will be available Just watched the video with Mike Harsh and my webcodingfingers started to itch :) Thanks /Simon Me too. But my guess is we wont hear anything until it's out. Although with WPF to RTM in days , it cant be all that far away. - Doug ...Show All
Visual Studio Team System TFS App tier eventLog error TF53010 & TF53013 AddStoredQuery
Hi Forum, we got this error in the EventLog of our TFS app-tier today: Apparently we are the only ones in the world (according to Google) that has problems with TFS & AddStoredQuery. Any suggestions other than reporting to connect.microsoft.com Tia., /Gert TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 10/20/2006 7:22:14 AM Machine: <MachineName> Application Domain: /LM/W3SVC/3/Root/WorkItemTracking-5-128057913939574318 Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7 ...Show All
Visual Studio Visual Stuiod 2005 Causes Crashes????
Occasionally when I open a profile in AIM or try to watch a video with IE or Firefox I get a dialogue that says ________________________________________________________________ | "VISUAL STUDIO Just-In-Time Debugger" | | "An unhandled Win32 exception occurred in IEXPLORER.EXE[3292]. | | | | "Possible Debuggers:" | | "New Instance of Visual Studio 2005" | | () - Set the currently selected debugger as the default | | () - Manually Choose the debugging engines" | | ...Show All
Windows Forms prevent clicks from being queued when form elements have enabled=false and Me.Cursor=WaitCursor
All-- Please help. I want to prevent clicks from being queued when form elements have enabled=false and Me.Cursor=WaitCursor. Right now, I have the code below and everything works EXCEPT the fact that the clicks on the button when the GroupBox.Enabled=False are queued and are actually executed as soon as the GroupBox.Enabled=True is set. So, what can be done to prevent the queuing of those clicks Please advise. Private Sub Button1_Click( _ ByVal sender As System.Object, _ ByVal e As System.EventArgs _ ) Handles Button1.Click Try Me .Cursor = Forms.Cursors.WaitCursor Me .MainGroupBox.Enabled = False 'do some work Catch ex As Exception Me .HandleError(ex) ...Show All
Smart Device Development Cannot connect to bluetooth gps
I have a Nokia LD-3W bluetooth GPS receiver that i cannot connect to Device Emulator on a notebook with a dell wireless 355 bluetooth 2.0+EDR (widcomm-broadcom), it fails with the error: 'Unable to open serial port 'COM12'. LastError=The system cannot find the file specified.'. I connected sucessfuly the GPS to Microsoft Autoroute 2007 and to Hyperterminal on the serial port (COM12) for the GPS receiver. I could connect to Device Emulator on a PC with a Microsoft bluetooth 2.0 dongle, serial port COM4. I have installed Microsoft Device Emulator 2.0 Preview, Virtual Machine Network Services Driver and Microsoft Windows Mobile 5.0 MSFP Emulator Images. I would appreciate any help, than ...Show All
.NET Development XmlSerializer and custom attributes
Hello, I am serializing a class whose members are marked with attributes such as XmlRootAttribute, XmlElementAttribute, XmlAttributeAttribute, XmlIgnoreAttribute, etc... to control the serialization process. I was wondering if it is possible to instruct the serializer to ignore all these attributes and work as if there weren't any. The XmlAttributeOverrides allows me to override these attributes but this is not what I am looking for because the serializer takes into consideration the attributes in the class. Thanks in advance, Darin You can use reflection to build your XmlAttributeOverrides. For example: XmlSerializer serializer = new XmlSerializer(typeof(YourClass), GetDefaultXmlAttributeOverrides(ty ...Show All
SQL Server login failed for smo backup operation
Dim srv As New Server(".\SQLEXPRESS") ' srv.ConnectionContext.ConnectionString =connection string Dim bk As New Backup bk.Action = BackupActionType.Database bk.Database = application path+"\"+databaseName+".mdf" Dim bdi As New BackupDeviceItem(backuppath+"\"+databasename+ ".bak" , DeviceType.File) bk.Devices.Add(bdi) bk.Initialize = True bk.Incremental = False bk.SqlBackup(srv) This is a pretty standard procedure for doing backups. For some reason I am getting 'Failed to connect to server. Cannot open user default database. Login failed' for MachineName\Administrator' error message. This error message appears when the application ...Show All
Windows Forms Error Code: 0x80070643
I have tried to install Windows and Office updates utilizing the Automatic installation tool; but, the initialization takes place and none of the updates are intalled. I ran WinDoctor and I am told that I am missing file "ORUN32.exe" and it cannot access "learn32.dll" and "pctree32.dll". I have searched my computer and found the orun32 and pctree32 files but not the learn32 file. I don't know how it got deleted and not sure how to get it back in place to use the automatic update. What do I do to get my Automatic updates to run again Please help me! Office Source Engine bull *** solution does not work...no matter how many times you restart this service. This problem was most likely created ...Show All
Visual Studio counting number of rows in a list
I have a rectangle(rect1) with a list in it (list1), in that list i have another list(list2). In my rectangle (rect1) i want a textbox(txt1) that shows the numbner of rows that list1 contains. I also have another textbox(txt2) where i want to show the number of rows in list2. I've already tried with the CountRows function but i get an error. The function I use in txt1 is CountRows("List1"). I als want a textbox on my report (outisde the rectangle) to show the number of rows in List1 and the number of rows in list2. How can i do this List1 ist bound to a certain dataset. For txt1, you can use =CountRows("DataSetName") It is not clear from your description if List2 is another list bound to a di ...Show All
Visual Studio Team System Migrate from CVS to TFS
Is it possible to migrate from CVS on a unix to TFS and keep the existing versions and tags I'm also curious about this. This will probably decide if we migrate or not. Anyone have any insight they mind sharing ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Chatroom
I personally put up a XNA chatroom to build a community that is already here and to better get to know each other. If you want to quickly inform somebody or get some information or help with something go there. The only problem for me right now is getting idlers in the channel. I know forums are a great way to help people, but sometimes just talking to each other about things like this is even better. Come and idle and help build a community even bigger and also build a place to help each other out. Its XNA Development, its for us. (That would be a sexy slogan). Server: irc.opa-ages.com Channel: #XNA You can use mIRC or any IRC clients in order to get to the chat. Yes, it would be preferable not to ...Show All
Visual Studio Problem with vsdrfCOMSelfReg and multiple Primary Outputs (VS2005)
I'm encountering the following problem: I have two projects in my VS Solution (well, actually I have about 30 interdependent projects in the Solution, but I'm trying to keep it simple!): The first project, MYAX, is a C++ ActiveX control library project (which builds the library MYAX.dll). The second project, MYAXMSM, is a deployment project, that builds a merge module from a number of sources , one of which is the project output ("primary output") of the MYAX project. In MYAXMSM, the properties of the Project Output for MYAX are set to vsdrfCOMSelfReg -- because MYAX is a self-registering COM library. Up until recently, everything was working fine, until I decided to enhance MYAX with the following custom build ru ...Show All
