FrankSp's Q&A profile
.NET Development Connecting to Access DB
I started a new WEB Site and added a connection to an Access DB. Now when I edit this WEB site or open a new one I cannot connect to an Access DB. When I try to establish the connection it asks me for the ConnectString. Any suggestions Thanks. Moish I am in Design mode and I right click in the Database Explorer window and choose Add Connection. As I mentioned above the first time I did this it asked me for a path to the database and then connected me. Now it asks me for the ConnectString. There is also a button to "Test Connection". When I press on that button it tells me "test connection succeeded". Also, when I preview the page it shows the database contents (the table that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I'd like to develop a path-finding engine for RTS game
With the increase of the number of C# user, and the publication of the XNA new edition. More and more developer agree with using C# to develop game. And I think the problem to use C# to develop is not the efficiency but the accumulation of language such as various libraries. As far as I know, many 3D graph engines have developed by researchers, and some one have being developing the physical engine. But I can't see any engine for AI, such as path-finding engine(if you see any, please tell me, thanks!) especially for C#. And I'd like to develop a path-finding engine for RTS game, of course, for other grid-base game because of my research of a very effect path-finding algorithm which can cost only 1/100 time of AStar and breadth searc ...Show All
SQL Server Integrated Security with local SQL & IIS
I have SQL RS running on a Win 2K (dev only) machine with IIS on the same local machine. I am trying to access the reports from another computer, but am getting an error An error has occurred during report processing. (rsProcessingAborted) Get Online Help Cannot create a connection to data source '<Shared Data Source Name>'. (rsErrorOpeningConnection) Get Online Help Login failed for user '<DOMAINNAME>\Guest'. IIS and the Datasource are setup for integrated security and the Datasource is aimed at the local SQL DB. Anonymous access is turned off in IIS and it prompts for the login info when trying to access it via the web. My understanding is that this should work without problems due to IIS & SQL ...Show All
Windows Forms GUI for multimedia application
Hi I need to implement an application that shows recorded A/V streams and corresponding notes similar to Macromedia Flash Professional. There will be a timeline for video and notes - each note has a certain time code. Will I be able to implement such an application using Windows Forms Where can I find samples or tutorials for multimedia GUI designs Thanks! JRQ wrote: You can use the Window Media Player activeX on your form. Can you elaborate a bit on this. How does one use this control on a C#.net window form application 10x Ilan ...Show All
Visual Studio Team System Differences between Visual Studio 2005 and
Hi. Could you tell me what are the diferences between Visual Studio Team and Visual Studio 2005 Thanks in advance. Jose Manuel. Microsoft has provided a comparison of editions here: http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx -Ryan / Kardax ...Show All
.NET Development How to Save data from XML File to table
Hello everyone.. I'm trying to convert table to XML file.. My code like this.. n it's success!!! Dim ds As New DataSet Dim cn As New SqlConnection("Initial Catalog=PDA;Data Source=Maizatulakmal;Integrated Security=True;") Dim da As New SqlDataAdapter("select * from users", cn) da.Fill(ds, "users") ds.WriteXml("users.xml") Now I want to read the XML file back and save it to table.. Dim ds As New DataSet Dim filePath As String filePath = "users.xml" ds.ReadXml(filePath) What I'm suppose to do after this code to save the data from XML to my existing table Thanksss!! a lot Maybe , you would look ...Show All
Visual Studio Express Editions hide tab header
how do I hide tab header of each tab in tabcontrol I would like control browsing of each tab myself . rgds, charles I know this way but I wonder is there cleanner way , cause I need to populate alot stuff on each page . it's very commoan function u can find on others programming language . ...Show All
Visual Basic Connecting to a network drive.
Here is what I'm trying to do. I know it's pretty easy but I'm very very green to VB. Just getting the information I need from Books, VBCODE.COM and using help. I'm "Trying" to make a program and when I click on tool bar function it opens up Excel. I have that down but what I want to do it open a specific Excel file from a network drive. I'm having a hard time find the code for to do this. I pretty sure it's not opening up a specific file because it's not map. Here is what I have. Shell( "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" , vbNormalFocus & "X:\\DSM-G600\HDD_a\...\....xls) As long as Excel is properly registered on the runtime ...Show All
SQL Server Identity field property lost after import tables between databases
I have found an issue on sql server 2005 data importing function: For example, I have two databases named DB_A and DB_B. If it has a table named table_a on DB_A with an identity field (say field_a), then after transfer table_a to DB_B by using the 'Import and Export Wizard' of MS SQL Server Management Studio, the identity field of table_a on DB_B is no longer an identity field. i.e. DB_B.table_a.field_a is not an identity field any more. This issue is remain the same as transfering tables from sql server 2000 to 2005, or from sql server 2005 to 2005. Has anyone know how to work around for this problem Thanks in advance. Athens Yan P.S.: I have using sql server 2005 with SP1 applied (9.0.2047). ...Show All
Visual Studio Team System Error: 32000, stsadm.exe returned -2130246810
TFS installation fails with the error stsadm.exe returned non-zero value -2130246810. I have looked at other threads that mention this problem, none of them seem to help. Please help. I did follow the detailed installation requirements religiously. George Here is a snippet of the log file: 09/19/06 10:31:37 DDSet_Status: Process returned 0 09/19/06 10:31:37 DDSet_Status: Commandline '"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadm.exe" ...' returned 0 09/19/06 10:31:37 DDSet_CARetVal: 0 09/19/06 10:31:37 DDSet_Status: QuietExec returned 0 MSI (s) (50:84) [10:31:37:867]: Executing op: ActionStart(Name=CA_QuietExecRollback,,) 09/19/06 10:31:37 DDSet_Exit: QuietExec ended MSI (s) (50:8 ...Show All
Windows Forms MultiThread Visual Application
I have TreeView on my Form. This application has 2 threads and I want to make changes with my treeView in 2nd thread, but here is such exception: name: InvalidOperationException and Message: "Action being performed on this control is being called from the wrong thread." what can I do with it thanks for your help do NOT set the checkillegalcrossthread to false - it was built in .NET 2.0 for a reason - for SAFE thread -> UI calls, it is there only if you need to use it, which 99% of the time you do not - its built for a reason and I highly suggest you use the correct method approach. Without doing so, you may experience some unwanted and nasty things happening within your application ...Show All
SQL Server Bulk insert and splitting content into collumns
Hi, when i try to load XML file into a table with bulk insert, i get bunch of errors: Msg 4864, Level 16, State 1, Line 2 Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 1 (cislo_subjektu). My guess it is, that it has something to do with 11 different collumns defined in dbo table and this command's lack of some specification about where to put which value. BULK INSERT pokus.dbo.organiz FROM 'D:\organizace.xml' /* my file */ WITH (FORMATFILE = 'D:\organiz-x-c.xml'); /* formatfile*/ GO Is there a way to split content of loaded file into correct collumn in dbo table When i looked into the format file after creating it with bcp, i notic ...Show All
SQL Server SQL Server Setup failed to retrieve the SSL Certificate Name
When I try to install SQL 2005 Developer September CTP on Windows XP Professional it returns an error "SQL Server Setup failed to retrieve the SSL Certificate Name" . I was using a certificate from SelfSSL but removed it. Still no luck This appears to be an issue with SQL Reporting Services. If I don't install Reporting Services then I can install SQL 2005. I'm guessing that Reporting Services is now requiring a certificate and doesn't like the SelfSSL certificates Any ideas Hi Everyone! Ok, i never installed that SelfSSL tool and I am running into that exact same error. I got SQL installed, without the Reporting tool, so how do I install the reporting portion of SQL 05 ...Show All
Windows Forms Hyperlink from email to open .net program
I am looking for a good way to have a hyperlink from an email to open a program. I'm creating a "Helpdesk" application where users would receive tickets via email. I would like to put a hyperlink in the email that when they would click, it would open my helpdesk application and go to that ticket, or if the helpdesk program is already open, it would go to the running instance and open that ticket. Any suggestions Thank you, that helps for opening the program with the link. Are there any tricks to have a running instance handle the request Dave ...Show All
SQL Server Passing parameters as querystring parameter to RS Reports 2005
How to pass parameters from VB.Net to Olap report (Reporting services 2005). I am generating reports using SQL Server Reporting services 2005. I am not able to pass any parameter to the OLAP report. For example I have to pass the week of year . The data source is cube (SQL Analysis Service 2005). I am trying to modify the MDX Query after taking the necessary dimension in rows and column. The query doesnt get saved. Please assist. How do we pass parameters in MDX ..What is the syntax for it. Is the following syntax correct [Date].[WeekOfYear].&[DateWeekofYear]. This is what I have provided in Where clause and here date is the dimenstion and WeekOfYear is the member name and DateWeekOfyear is the parameter. ...Show All
