moveit's Q&A profile
Smart Device Development ppc 5...windows forms...how to keep maximized forms maximized???
my vb.net mobile 5 ppc app.. it has a few main forms..they are maximized so that the today screen is not at all visible...when i open a "sub" form that is NOT maximized on top of my maximized form, the maximized form becomes NOT maximized as the top of the today screen shows....my client HATES this...how can i stop this we never want to see any part of the troday screen can i open a fomr inside a form...or insde a panel or set a property thanks... Hi MaseYo, in .NET CF applications, you can hide the title bar by maximizing the forms, thats true, but if the form is not maximized, it mustshow the Today title bar. But you can try calling the other form with "ShowDialog" method and leavi ...Show All
Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast. Basically, as far as I can tell by this entire discussion and my own experiences is that the c ...Show All
Smart Device Development random TypeLoadException
I am having real issues with a TypeLoadException that occurs generally randomly. I've been working on a .NETCF 2.0 app all day, debugging and generally being productive. All of a sudden, with no changes to the assemblies, I get a TypeLoadException on one of the types in one of my referenced assemblies. It's one of my own assemblies, and I checked the manifest and didn't notice anything untoward. // Metadata version: v2.0.50727 .assembly extern mscorlib { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) // ....=3". .ver 2:0:0:0 } .assembly extern retargetable System.Data { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) // ....=3". .ver 2:0:0:0 } .assembly extern retargetable System.Xml { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) ...Show All
Visual Studio Team System Users / Logins (CTP7)
I'm experiencing some issues regarding users and logins in the CTP7 version. The story: At first, there's no database or login available in the SQL2005 instance When I create a user named testuser in the Schema View , it is nicely added to the users folder as testuser.user.sql . Since it is created without login , I change the piece of the script to for login [testuser] In the Pre-Deployment folder I change the Logins.sql script to create a login if it does not already exist. Why is the testuser sometimes included correctly sometimes included with without login (although the script says for login [testuser] ) sometimes excluded when building the database project Also, I'm not able to just create a login with password=N'wachtwoord' ...Show All
Visual Studio 2008 (Pre-release) Problem adding Web references to a VS2005 solution
I have tired adding MS Live Search web reference to a vs2005 project. Once I enter the url and, after services discovery, i click add web reference... The web reference is added but I also get the error: Error 1 Custom tool error: Unable to import WebService/Schema. Value does not fall within the expected range. Why do I get this error Any help is greatly appreciated. Kind regards, Marko Vuksanovic. Changing to static worked, kind of... I can compile but I get an exception when I attempt to create an instance of the webservice proxy at run time. Oh and by the way I wrote the web service and it works perfectly... I just can't seem to get the IDE to use it. I can call this webservice from a browser or ...Show All
Visual C++ Measuring Internet Explorer page load time and amount of data
Hi, Can anyone give any ideas on how to measure the time it takes to load a page and the amount of data transferred Any kind of ideas are welcome. What I want to do is: 1. Clear IE cache (i already know how to do this.) 2. Request IE to open a page 3. Get indication when the operation is complete (all available files downloaded). 4. Get to know the amount of data transferred ( and maybe number of files, etc..) I am planning to develop using visual C++. Can i somehow use WinInet to do this I also should be able to view the page in IE. Thanks, - Janne_K Please use the newsgroups at http://msdn.microsoft.com/newsgroups for such issue. OTP Thanks, Ayman Shoukry VC++ ...Show All
Visual Studio Express Editions Visual Basic 2005 Exe
Is it possible to create a stand alone exe for a windows application using Visual basic 2005 Express Edition. If so how can this be accomplished. Yes, you can use another language which doesn't rely on the .NET framework. Even so, all modern languages require a runtime in one form or another (it's just that the runtimes are already installed with the OS). However, C++ is probably your best bet (VB6 has runtimes, but are relatively small but is not recommended for new applications). ...Show All
Visual C# IDataReader???
Can someone give me explanation on how this works or a link that explains this Is it the Same as a SqlDataReader but it can be implemented for all types of Data like Oracle an Access or what...a lil cloudy on how i should use the IDataReader My IDataReader is a memeber of System.Data, in .Net 1.1 public abstract interface IDataReader : System.IDisposable , System.Data.IDataRecord Member of System.Data ...Show All
Game Technologies: DirectX, XNA, XACT, etc. equivalent to the MDX function Matrix.Transformation
Hi, What is the XNA equivalent to the MDX function Matrix.Transformation Thanks in advance! It doesn't currently exist in XNA. You will have to compose your own transformation by combining the Matrix.CreateScaling, Matrix.CreateTranslation and Matrix.CreateRotation methods. Maybe they will re-add that method since it's more efficient than creating all the transforms separately and then combining. ...Show All
Visual Studio Express Editions autoScroll Text
Hello. Can some one tell me please how ya get text to automaticaly scroll up in a textbox Thank you. Hello Spiderman. am fairly new to programing, only been learing about 9 weeks or so. Am not sure how to explain this so al do the best I can. Av seen it done a a few times in about box's were the text scrolls up automaticaly, no scrollbars, or if there is scrollbars they were not visible. I want have the same thing on my form as a scolling welcome type thing. Al try what ya told me. thank you. ...Show All
SQL Server Nested Transactions
Hello! Sorry if I choose wrong forum for this post. I have next scenario: Transaction1 Transaction2 Commit Transaction2 Transaction3 Commit Transaction3 Commit Transaction1 I wanna implement it in C# code (.NET 1.1, MS SQL 2000): IDbConnection connection = new OleDbConnection (connectionString); IDbTransaction transaction = null ; connection.Open(); /* NOTE: I can't use something like this: * transaction outter = connection.BeginTransaction(); * transacrion inner = connection.BeginTransaction(); * // Here I'm getting an error: OleDB doesn't support parallel transactions, * // though I wanna create nested one. */ // So, I decided to turn implicit transactions mode on in hope it should help: IDbCommand bt = con ...Show All
Visual Basic How to call a memory release ?
Hi, I am currently building a VB.Net Application that uses Adobe Acrobat Professional 7.0. The problem is that the amount of memory used while the process is running always keeps growing. And I am sure that Acrobat is responsible for that. So I would like to know how to call a memory release in VB.Net. thanks for helping. Alex I tested the command : System.Runtime.InteropServices.Marshal.ReleaseComObject And it finally works, Acrobat keeps taking a lot of memory space, sometimes more than 200megs for a 4meg document but when I close the document and release the COM object it gets a little smaller. Lets just say that to run my application, users will need at least 1024 meg RAM for optimal performance :-) Thanks again f ...Show All
Visual Basic Deployment on Terminal Server
What user rights must be set on the TS to allow users to run a application (VB2005). I have published the application the the TS, but only the administrator can run it. I made sure that CRWXI-2 is installed on the TS and all the other bells and wistles are present. When the user tries to run the application, it will go throught the phase to check for an update, but then nothing happens. It's just not running..... What I'm I doing wrong or of more value, what should I do to publish to a terminal server and what must the Administrator do to get the users to run the apllication. Actually, so damm easy.... I feel like an idiot. Funny how one can struggle over something, and not think abo ...Show All
Windows Forms Slow Redraw Speed
I have a C# form with a large amount of labels, buttons and textboxes in arrays. When I minimize and restore the window (or do anything that covers the window), it takes a while to redraw each control. Is there any way I can improve the redraw speed In VB6 I did not have this problem. I've already tried the following code this .SetStyle( ControlStyles .OptimizedDoubleBuffer | ControlStyles .UserPaint | ControlStyles .AllPaintingInWmPaint, true ); ...Show All
SQL Server Manuel Identity system
Hi, I have a table (TABLE_A) like this: MY_ID int unique Field1 varchar(10) I am using manuel identity system like this: INSERT INTO TABLE_A (MY_ID, Field1) SELECT MAX(MY_ID) + 1, 'Field1 Value' One row insert there is no problem, but more than one row how can I use insert statement ( TABLE_B have more than one record ) INSERT INTO TABLE_A (MY_ID, Field1) SELECT (SELECT MAX(MY_ID) + 1 FROM TABLE_A), FieldX FROM TABLE_B Iron: I normally use a stored procedure for retrieving identity values from identity tables. In this way I can have the procedure retrieve single identifiers or a list of identifiers and maintain the identity table. ...Show All
