Sandrina's Q&A profile
Smart Device Development How to remove or kill default phone application (cprog.exe) from WM2003 SE Phone
Hi guys! I have an application, which phone functionality for WM2003 SE Phone (T-mobile MDA III). The default phone app. of PPC - cprog.exe is very "insolent" and in some cases shows differnet UI elements! If I kill its process, after some seconds Services.exe starts it again! My question is: Is possible to remove or kill cprog.exe Regards hi coder82.. i am trying to get the IMSI on iPAQ on WM5.0. For me RIL_SendSIMCmd is failing. Please tell me ,if you get any solution for this ...Show All
.NET Development Starting point for 3D graphics in VB.Net
I am using VS2005 (VB.Net). My program need to import 3D (x, y, z) points and display their relative location in a window. In the past I have only worked with 2D (x, y) points which were not a problem. My questions are: Is it possible to simulate "limited" 3D graphics in VB.Net What would be the best way to plot 3D points in VB.Net Thanks Hi The GDI+ does not support 3D primitives therefore you must handle how you want to represent the third dimension within your code. I found an example for you to start with http://www.codeguru.com/columns/VB/article.php/c8185/ . But, my suggestion will be to use DirectX in order to render your points, it will take you half/day to understand the basics but once you ren ...Show All
Visual Studio Terminal Services and Visual Studio 2005?
Are Terminal Services and Visual Studio 2005 compatible in a Windows Server 2003 network If they are how is VS 2005 installed. If they are not what can be done to make VS 2005 work with Terminal Server There is no reason that you couldn't run a terminal server session into a machine with VS installed on it. Just install vs on a machine and TS into it. Am I misunderstanding your question Tim <MSFT> ...Show All
Visual Basic navigation between forms
i have a project with 17 different forms all being housed in a mdi parent form. i have tried to impliment a previous button on most of the forms, which is complicated by the fact that there is more than one way to get to some of the forms at this stage, i have used a global variable which is changed each time a form is closed, then a case statement within the previousbutton_clicked event procedure that will use the variable to figure out which form to go back to. this seems to work, but i was wondering if anyone knows an easier or better structured way of achieving this functionality. any ideas will be greatly appreciated. thanks in advance, Mark thank you for the response i am trying to go bac ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar not working correctly
Hi, I've downloaded all the necessary components and was playing around with the Spacewar starter kit. I can launch the game but it seems like it's missing a lot of the objects. For example when I start the game I can hear the ship moving around, but I can's see it. Only the jets are visible. Also the background is not visible. The only thing that I can see is the score, the time and a couple graphics in the corners of the screen. The rest is black. Doesn't matter if I start the game in retro mode or not. Am I missing something Thanks. That could be it. I have an older graphics card, actually a GeForce 2 Ultra. Does anyone know if this will cause other problems Thanks for the answer. ...Show All
Visual FoxPro small test on transaction atomicity
Need help with small test on table in database with transaction. Could somebody show state of table after execution this code: CLOSE ALL CLOSE DATABASES OPEN DATABASE "c:\ path to database\data1.dbc" SHARED BEGIN TRANSACTION UPDATE data1! table 1 SET name = 'BBBB BBBB BBBB BBBB BBBB' = Messagebox ('END TRANSACTION') END TRANSACTION if in table1 before execution was 500K records with value "AAAA" and VFP process was killed after click OK in messagebox and before all trasaction bufers was stored in dbf file (2-3 seconds after click OK) I interested in "select count(*), name from data1!table1 group by name" output Can anyone help me with this ...Show All
Visual Studio Express Editions about publishing problem
hi there!! i have trouble regarding publishing my work... it is regarding with the database... when i publish my work the database is still seperate from the setup... what if i burn my work on CD i need to put my database on the CD and when i install it.. i need to copy my database and paste it where path is... i want is to when i install the program the dbase will automatically install on the system so that my work can access the dbase....or there is a way to configure the connectionstrings thx for the reply... i think your saying is dbase embeded or using wizard.... i used code to connect to my dbase(MS Acess)...for example Dim as theConnction as New Oledb.OledbConnection(" Provider = Microsoft.Jet.OLEDB.4.0 ; Data Source ...Show All
Visual Basic Deploying multiple EXE's using the basic publish mechanism of the IDE
I have a rather convoluted project. The distributable will come in eight different flavors, each with its main program, libraries, datafiles, doco, etc. Each flavor will also have one or more standalone executables that can be called as tools from within the main program. To complicate matters I'm using VSS 2005 to track everyting and I'm trying to use links both within the IDE and VSS to minimize the possibility of error and to let the IDE do all the work at build time. This works great with the datafiles, doco, etc. (Though I wish that it were possible to use the content / copy mechanism to copy to directories parallel or even below bin rather than within bin. It's nice to have the readme file in the root. Anyone at MS listening BT ...Show All
Windows Forms Can't find prerequisites option on my VS 2005
Hello I am looking for the prerequisites option on my VS 2005. but i couldn't find it anywhere. I followed the instruction here. http://msdn2.microsoft.com/en-us/library/7eh4aaa5.aspx it said it is located in the properties pages under build property page. and it should have a prerequsites button there. but im looking around and couldn't find it. I am using a professional edition of VS 2005. Anybody knows where it is hiding Yeah thank you. I don't see it when i develop for WM 5.0 for pocket pc. what does this mean is that wm5.0 already has .net framework 2.0 install in there already ...Show All
Windows Forms Window class name is not valid
When I create a new WindowsApplication project, add any control to the main form and run the project - I get the following exception on Application.Run(new Form1()); I am using VS 2005 beta2.050215-4400. This haven't happened until now. What went wrong Any help will be appreciated Gabriel The exception data follows: System.ComponentModel.Win32Exception was unhandled Message="Window class name is not valid." Source="System.Windows.Forms" ErrorCode=-2147467259 NativeErrorCode=1400 StackTrace: at System.Windows.Forms.NativeWindow.WindowClass.RegisterClass() at System.Windows.Forms.NativeWindow.WindowClass.Create(String className, In ...Show All
Windows Forms System.Deployment.Application.InvalidDeploymentException on some machines
Hi! I'm getting the following exception when trying to install my ClickOnce-App on some machines: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://192.168.23.105/system3/System3.application Server : WinGate Engine Deployment Provider url : http://192.168.23.1 ...Show All
Visual C# Types and Variables
Is it possible to make a Type into a Variable Well this is the code i'm trying to make work : public string TheURL { get { return ComboBox; } set { this.theURL = value; } } but i get the error message ; 'System.Windows.Forms.ComboBox' is a 'type' but is used like a 'variable' 45 24 So i want to make the type ComboBox into a Variable so that it works. Ps have you got any other ideas on how to get it to work ...Show All
Visual Studio Team System Database Project Build
I'm receiving an error when building my project. I am creating tables/indexes on specific filegroups. Those filegroups exist on the target server. When I try to build, I get error messages saying that it's invalid. How do I fix this I would guess, since you are building and that is done based on the local validation database, that you will have to have the filegroup defined locally too (Similar to external references) Or am I off base Alle ...Show All
Visual C# C# 2005 ignoring STAThread attribute
Greetings. I'm developing a WinForms-driven application, and I need it to use Single Threaded model for COM interop. C# 2003 worked fine with [STAThread] attribute above main() declaration. But we just upgraded our machines to VS 2005, and our application is failing due COM errors. We found C# 2005 is creating the main thread as Multithreading model, regardless the STA attribute. Any idea why is this happening . Here is a snippet of our entry point code, not complex at all. Putting a breakpoint in the first line of main(), already shows the System.Threading.Thread.CurrentThread.ApartmentState as System.Threading.ApartmentState.MTA. #region Main /// <summary> /// The main entry point for the applica ...Show All
SQL Server Slow query when run in multiple threads
Hi, I'm trying to stress test my web application, but when I get high load, the queries that used to take 10-20 ms starts taking 500 - 2000+ ms. Or to put it another way, when i run them single threaded i can do about 43000 a minute, when they are run in paralell it drops to about 2500 a minute. What can i do about this There are severeal queries thats affected, but here is one example: update [user] with (ROWLOCK XLOCK) set timestamp = getdate() where userid = 1'' btw: im running sql server 2005 sp 1. The stress test is run on 3 machines total (web, sql and client) the client is simulation 400 users, cliking a page as soon as the last one is loaded, ie there will always be 400 page requests. Hmmm.. w ...Show All
