Tom Avogardo's Q&A profile
Visual Studio Express Editions Issues to watch out btw 1.1 and 2.0
I'm not very sure where to post this qns and i'm using C# so i think this would be the approriate forum to post. I am told to develop some applications using C# in .Net 1.1. However with the usage of express edition, i would be require to use 2.0. I would like to know the possibility of compactability issues if my development is done in 2.0 and deployment over 1.1 framework Appreciate any help. Mattias Sjogren wrote: 2.0 applications don't run on 1.1. lets say im designing a windows application such as gui.. i have the source file (.cs) designed in .net2.0, can i just port over the source file (.cs) into vs 2003 ...Show All
Visual C++ impossible mistake
I wrote a program with Visual C++ to find certain numbers in the Fibonacci sequence, any number you want to find. However, if you input any number over 46, it begins adding positive numbers and getting negative numbers. Someone please help, I cant't find anything wrong. Here is the code: #include <iostream> using namespace std; int main() { int T,A,B,C; A=0; B=1; cin>>T; cin.ignore(); T--; for (T=T; T>0; T=T-3) { C=A+B; A=B+C; B=C+A; cout<< "C=" <<C<< "\n" << "A=" <<A<< "\n" << "B=" <<B<< "\n" ; //this code outputs the variables throughout the program for ...Show All
Visual Studio Remote debugging - timeout period exceeded
I'm having trouble getting remote debugging working between two machines that aren't in the same domain. Local machine is XP with VS2005. The machine is in a domain, and so is the user. Remote machine EDMDEMO is Win2K in a workgroup. The remote debugging monitor is running interactively in a local account. Local userids exist on both machines to match the domain user id, and all 3 passwords match. I can browse the shares of the machines without any problems. The local can connect to the remote machine, and it shows up in the remote debugging monitor as "EDMDEMO\username"connected. This waits for about a minute then returns the error (on the host): --------------------------- Microsoft Visual Studio ------------ ...Show All
SQL Server ISNULL ( ) support in SQL Server mobile?
Is ISNULL ( check_expression , replacement_value ) supported in SQL Server 2005 Mobile edition. If not, then why the following statement executes without any error: - " select ISNULL(a,12) as test from tableA " Where 'a' is int column. However, even though i do not get an error, it doesn't behaves as expected. I mean the result which i get is : - a. If the column is not null, the value in 'Test' (resultset) is False. b. If the column is null, the value in 'Test' (resultset) is true. The expected result was that the Null values would get replaced with the specified replacement value. The Questions are: - 1. Is ISNULL( ) supported in SQL Server mobile edition 2. If not, then why it gets executed without error 3. If yes, t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How in XNA Game Studio Express correctly to include a full-screen mode?
How in XNA Game Studio Express correctly to include a full-screen mode I write a code: graphics.PreferredBackBufferWidth = 1024; graphics.PreferredBackBufferHeight = 768; graphics.PreferMultiSampling = false ; graphics.ToggleFullScreen(); Then I draw on the screen 2D the sprite and I move it on the screen. During the moment of moving of the sprite on the screen, he brakes and twitches, such impression that copying of the sprite occurs on without usage Z-buffer. How correctly to customize in project XNA Game Studio Express using class Game1 a full-screen mode In DirectX earlier, it was so: D3DDISPLAYMODE Display; if( FAILED( pd3d9->GetAdapterDisplay ...Show All
.NET Development CSharpCodeProvider and temporary files
I'm using CSharpCodeProvider.CompileAssemblyFromSource() to compile C# scripts from within a Windows service. Everything works great from my machine but when deployed to our test servers, this error occurs: Compilation errors: Compilation failed:error CS1619: Cannot create temporary file 'c:\WINNT\system32\CSCDBC.tmp' -- Access is denied. Is there a way to specify where this temporary file is generated I've tried everything. TempFiles collection doesn't do it. GenerateInMemory doesn't do it. I don't have the code anymore. I've followed many examples and someone else ran into the same problem. You only have to use Reflector to see it's not using the parameters. I tried all the suggestions from google searches and I could no ...Show All
Visual Studio 2008 (Pre-release) MediaElement mediaChanged event
There does not seem to be a mediaChanged event for the media element. How is one notified of the currently playing media file in a streaming scanario I cant even find a way to see info about the file that is currently playing! wow i guess they just forgot to add this one. Its a big one to miss considering we are so far behind. does flash support this ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A problem with SpaceWar Starter Kit
I have installed XNA Game Studio Express to my Visual C# Express, i have started a new project, but I got problem. I successful compiled it, but I don't see a cursor in the game so i can't select choice in menu and keyboard also doesn't work. What's wrong i don't have the IDE in front of me right now, but i swore it was on that page, but you had to scroll down to see it. player 1 V = A B = B (i think) asdw - directions player 2 number pad for directions (caps lock off) 7 = A if you don't find your answer in the next 45 min, i'll post when i get home. ...Show All
.NET Development Best Practices question.
I want to use typed datasets in the projects that I am working on, however ( and this may just be a symptom of my .Net ignorance ), in order to create the typed dataset I need to specify database and connection info at design time. This can be an issue since I am developing against a test database, so as not to disturb production. What I have done to get around this is to change the connection information at run time, based on values that I am storing in the registry. Are there any better ideas out there for this kind of a scenario Sorry, I looked for the connection property in the table adapter cause the code completition didn't show it but I was wrong, I saw it private instead of internal. Thank ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Question about the Game Build
If you build a project, then later delete content you no longer want in the project from the project explorer, then build the project again, does the old pipline converted content remain in the bin folders I was wondering if he was removing them from the project to speed up the build rather than becuase he didn't want them any more. e.g. see how long a full build of spacewar takes due to all the content. I was just pointing out that they would not be depolyed to the xbox in that case. ...Show All
Visual Basic Microsoft.Office.Interop.Excel and speed of operation
Hello. I am using VB2003 to connect to and read an Excel spreadsheet (Microsoft Excel 11.0 Object Library). It works BUT it is very slow to initialize the excel application. At the top of my code for my form I have: Imports excel = Microsoft.Office.Interop.Excel Then I have a button that allows the user to select a file. No problem and no speed issues. Then I have a button to import the data from the selected spreadsheet with the following code: (From calling routine) ts = Now If ReadinExcelSheet(Filename) = False Then Exit Sub End If (Actual routine) Private Function ReadinExcelSheet(ByVal Filename As String) As Boolean MessageBox.Show(DateDiff(DateInterval.Second, Now, ts)) Dim objExcel As New excel.Applicati ...Show All
SQL Server Reporting Services SP2 CTP "Select All" back in preview but not on web
Hi I've installed SQL Server Express 2005 SP2 CTP specifically because I require the "Select All" checkbox to reappear in multi-value parameters. This was successful in Business Intelligence Studio and when i preview the report the MV params have Select All options. However, when I deploy to the web the MV params do not have Select All options. Why would this be Regards Adam Whitehead You and me both, MS Will just not give out a rlease date for SP2, purely because it is dependant on the CTP, so far most things i have looked at are good, so im hopeful of a quick delivery from CTP to SP2 release. Before Xmas...... I think prob not, Early - Mid Jan Maybe but Def in by Feb next year. All just ...Show All
Visual Basic using hyper link in richtextbox
I'm sorry, I'm independantly studying VB and I want to be able to click a hyperlink on my richtextbox and have it open form two and go to the web page hyper linked. I've looked through F1 and every other resource I could find. I would appreciate help. I tryed something like; if Richtextbox1.text = Everything I've put after this shows up as an error Hi, A linkLabel is the control to visit a URL I'm not sure how you would goto FORM 2 unless this is page 2 of of an ASP.Net project Form2.Show() ' would otherwise show it. See this example but it brings up the default browser instead.>> Private Sub LinkLabel1_LinkClicked( ByVal sender As System.Object, _ ByVal e As System.Windows.Forms.LinkLabel ...Show All
Visual Studio Express Editions Visual Basic Express Edition E-book
Where in the registration portal is the link to download the e-book for the Visual Basic Express edition. Can anyone please help me. I am a beginner. Any ideas or recommendations woud help. Hello I just wanted to ask Can the e-book be redistributed as said by the EULA I never read that EULA... Email me knvb1123@gmail.com Keehun Nam ...Show All
Visual Basic Is there any way to autoclick with the mouse?
Hi. It's me again. I was wondering, (and I'll probably get a simple answer that I could've figured out on my own.) is there any way to make the mouse move to a certain point on the screen, and then click by itself Thanks. You can do a small program with a timer and use the Cursor.ToString() to change the text of your form every 10mseconds. Then use the mouse to go to the button you need to know its coordinates then record the coordinates. Private Sub Timer1_Tick ( ByVal sender As System .Object, ByVal e As System . EventArgs ) Handles Timer1 . Tick Me . Text = Cursor . Position . ToString () End Sub You can use it to decide where your next program should clic ...Show All
