RayCan's Q&A profile
Visual Studio Prompting database Login
Hi, i developed one windows application with VB.net,SQL Server database on windows 2000 system. i have some crystal reports in it( no sub reports). In my Development system every thing is fine including Reports.I created the setup and deployed the application in Windows XP system with MSDE database. Now my application is working fine except Crystal Reports. after deployment, when I try to see any of my reprots, I'm prompted to enter database login... I have a window with TableName (Command), and Server Name, Database, Login ID, and Password. I have added the following merge modules already: Crystal_Database_Access2003.msm Crystal_Database_Access2003_enu.msm Crystal_managed2003.msm Crystal_regwiz2003.msm (licence key is set to the public ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Introduction to C# (Free Ebook)
I was going through my normal sites this evening and found a link to a free ebook that covers an introduction to C#. ( http://www.programmersheaven.com/2/CSharpBook ), I thought that with all of the new guys jumping into C# and XNA that this book might come in handy. Glen, could you add that to my C# resources post so that we can get all those resources combined into one post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=966180&SiteID=1 Thanks and thanks for pointing that book out! ...Show All
Visual Basic Display sum of records
Hello, I need to display on a form, on a textbox, the value of a sum of records that is on a Query on my database. I've the following code: con2.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=""C:\Programacao\Visual Basic\Inapal\ReportIt\ReportIt.mdb"";" con2.Open() sSQL2 = "SELECT Qtd FROM [TotalScrapQuery] WHERE ((Data LIKE'" & DateReport.Text & "') AND (Turno LIKE'" & ShiftReport.Text & "'))" da2 = New OleDb.OleDbDataAdapter(sSQL2, con2) ds2.Clear() da2.Fill(ds2, "TotalScrapQuery" ) con2.Close() How can I make something like ScrapBox.text=Qtd Thanks, Joao Pinto ...Show All
SQL Server SSIS - Importing varchar from Access into SQL2005 as varchar
For the life of me I cannot figure out why SSIS will not convert varchar data. instead of using the table to table method, I wrote a SQL query so that I could transform the datatype ntext to varchar 512 understanding that natively MS is going towards all Unicode applications. The source fields from Access are int, int, int and varchar(512). The same is true of the destination within SQL Server 2005. the field 'Answer' is the varchar field in question.... I get the following error Validating (Error) Messages Error 0xc02020f6: Data Flow Task: Column "Answer" cannot convert between unicode and non-unicode string data types. (SQL Server Import and Export Wizard) Error 0xc004706b: Data Flow Task: &quo ...Show All
Visual Studio Error:The language-neutral solution package was not found
Hy, I used Windows SharePoint Services 3.0 Tools Visual Studio 2005 Extensions November CTP to create Web Part project. I reseive the following error: "The language-neutral solution package was not found", when use Depliy option to deploy my Web Part. Petar Petrov Hi Petar, You will need to contact the Sharepoint community about this issue as this is not related to Visual Studio Extensibility. Sharepoint Community site: http://msdn2.microsoft.com/en-us/sharepoint/aa905689.aspx Thanks, Aaron Marten ...Show All
Windows Forms Magic with Installations (Am I re-inventing the wheel)
Hello, it appears that this is the catch all forum for ClickOnce, Setup & Deployment and the Bootstrapper. see Chris Smith's last signoff note at http://blogs.msdn.com/chrsmith/archive/2006/03/10/Bootstrapper-SDK-R1.aspx Anyway, this is what I need to be able to do for MAJOR insurance carriers deployement of our application but everything I try I keep dead-ending. First can't use ClickOnce because of the per-user limitation... 1. Launch Install -OR- Bootstrapper a. Test RAM, OS, DiskCost b. Summarize to end user what is and isn't passing for launch conditions 2. Go no Go bassed on 1a. a. Summarize prerequisites to be installed. In our case .NET and SQL Express (and their prerequisites) ...Show All
Visual Studio Team System Web Testing
1)what does this message mean "Object Moved Here"! and when does it come. also 2)When i ran my recorded web test i found that some of the http requests were giving me diff screen shots where as during recording i didnot do those actions also it says web test passed.Why is it so Kindly explain. 1. Object moved here means that your server is redirecting your request. When you hit the same page in a browser, it will perform the same redirection, but it will do it without you seeing the intermediate page. 2. The playback ui does not execute any java script. So if your page depends on java script then it will likely look different in playback. The web test engine works at the http layer an ...Show All
Visual Studio Team System TF31002 unable to connect on 2 different client machines
We are just starting to roll TFS out at our shop. However, we are experiencing the TF31002 error on 2 seperate client boxes. I have already tried the following with now success. Any suggestions I have seen problems similiar to this. This type of connectivity to the Team Foundation Server problem is usually resolved by clearing the client side Team Foundation Server cache. To clear the cache perform the following: 1. Close Visual Studio. 2. Delete the contents of the folder: %USERPROFILE%\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\ 3. Start Visual Studio. 4. Connect to the Team Foundation Server through the Tools menu Connect to Team Foundation Server option. T ...Show All
Windows Forms Progress Bar Redraw With New Value
I am trying to write a program which calls a new thread to do the bulk of the processing. I have set it up so that the main class has a progress bar which updates as the program runs. The only problem is that the progressbar stops working once the program loses focus on my computer. Also, rather then updating the progressbar on a timer, I would prefer if the new thread could update it every time it updates 100 records. Is there any way to fix this problem, and is there any way for the new thread to tell the original when to do the update A snippet of the code I am using is below: Thanks, Russ Original Thread: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ private void button1_Click(object sender, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Flash Movie in C# Direct3D game
In VS2005, i need to embed a SWF flash movie in a fullscreen Direct3D 9.0 based game. I have successfully added my swf(which was painful) and played the movie without problem. But, when I tried to switch the display from SWF flash move to Direct3D device. It failed! The followings illustrate the general flow of my problem: 1. load and display the SWF 2. user press space to start game (SWF get focused and read space bar), set SWF invisible by AxShockWaveFlash1.visible = false 3. start game, render Direct3D 4. game ended, stop rendering Direct3D 5. show the SWF movie again, set SWF visible by AxShockWaveFlash1.visible = true, focus SWF Problem raised from Step 4 to Step 5. This problem do not exist when I am not using the f ...Show All
Windows Forms Coloring TabControl.
As far as I can see TabControl object has no properties of either Back or ForeColor. Is it possible to assign these properties to this object Another question: TabPage object does have both properties but when you assign a color to it it does not cover the whole TabPage: the tab itself remains gray. Is it possible to give it colors Many thanks. nahguam wrote: TabControl inherits from Control so the properties BackColor and ForeColor *are* present. They have just been hidden from the VS designer. If you manually assign them (don't believe what intellisense tells you! :) ) It will compile. Unfortunately, modifying them seems to have no effect on the painting of the control. I'm not sure how you can ...Show All
Visual C# Question on c# Language Specification
Hello msdn community... Reading ECMA-334 ( http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-334.pdf ), on basic concepts (page 91) I came to the following two: "Types declared in compilation units or namespaces can have public or internal declared accessibility and default to internal declared accessibility." " Interface members implicitly have public declared accessibility. No access modifiers are allowed on interface member declarations." My question is the following: Declaring an interface at namespace without the use of any accessibility modifier will result in a interface with (default) internal access. How can this interface's members have public accessi ...Show All
Visual Studio 2008 (Pre-release) DataContractSerializer "Expecting element" problem
Hello ! I have just passed to the RTM version of winfx and I don't understand why the DataContractSerializer doesn't work any more. I want to serialize an object with a xml stream which no contain all the properties of the object. With the winfx beta 2, it work fine, but now I optain the error : Error in line 3 position 4. 'Element' 'CommonName' from namespace ' http://schemas.datacontract.org/2004/07/Site ' is not expected. Expecting element '_includedProperties'. I tried to use serializer like this : DataContractSerializer __serializer = new DataContractSerializer(typeof(Site[]), null, Int32.MaxValue, true, true, null); O ...Show All
SQL Server Microsoft SQL Server Migration Assistant for Access: No Convert Schema Highlighted?
Hi all, I downloaded the Microsoft SQL Server Migration Assistant for Access 4 weeks ago. Today, I tried this program for the first time. I added one Database with 3 Access 2003 Tables to the Access Metadata Explorer. I right clicked Databaes on the Access Metadata pane and did not see the "Convert Schema" highlighted!!! What is wrong with the program How can I make it highlighted Please help and advise. Thanks in advance, Scott Chang Hi Mike, Thanks for your valuable response. Today,I did migrate the 3 .mdb tables one by one as you instructed. I think I got my 3 .mdb tables migrated to the dbo tables in the SSMA for ...Show All
SQL Server Problem in Restore Database from old version to SQL Server 2005?
Dear All, I am experiencing a problem that, after i have made a backup database file in SQL Server version (9.00.0190), when i restore the database in a newer SQL Server 2005 version(9.00.1399), an error occurs. The error is: Restore failed for Server 'demo'. (Microsoft.SqlServer.Smo) Additional information: System.Data.SqlClient.SqlError: The database was backed up on a server running version 9.00.1090. That version is incompatible with this server, which is running version 9.00.1399. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.Smo) Anyone can tell me how i could fix this Why would it happen Thank you very much Regards, George ...Show All
