Alucaz's Q&A profile
Visual Studio Express Editions Visual J# install problem on Vista
I have a problem installing visual J# express Edition on my Vista computer. i run the setup as administrator and it still have this problem. How do i solve this I keep having J# failded to install thing. Also is there a way to always be run as administrator like in XP so that such things wont happen always The error is: The following failed to install: Microsoft Visual J# 2.0 Redistributable Package The following component was not attempted: Microsoft Visual J# Express Edition - ENU ...Show All
Software Development for Windows Vista change integrity level
Hi, All I want to start a process with medium integrity level from a low integrity level process. From http://msdn.microsoft.com/library/default.asp url=/library/en-us/ietechcol/dnwebgen/protectedmode.asp , I found an example which starts a lower integrity level process instead and use the following hard coded Low integrity SID of "S-1-16-4096". What's the value for other integrity levels' SID(medium|high|system) I searched June CTP's SDK and document, but didn't find anything. One more thing is that also following an example from above link, I try to lower the integrity level of a named pipe in the same process which created it, but I got error code 5(access denied). Anyone knows what goes wrong code fol ...Show All
Visual Studio 2008 (Pre-release) Create WCF Proxy Unit Test
I wonder if the "Create WCF Proxy Unit Test" tool is working in the latest release of the Visual Studio 2005 extensions for WCF. The dialogue crashes every time I point to a metadata address and click "Get". I've addresses such as http://localhost:2000/myService.svc and http://localhost:2000/myServiceDrug.svc wsdl. Sorry about the intermission but where I can get that tool I'm using a manual aproach, creata a unit test, create the proxy adding a service reference, configuring the app.config of the Testing Project and run the test, but if that tool helps me with all that I'm really interested!!! ...Show All
Smart Device Development Memory Problems
Hi, i'm creating a sort of pictureviewer. I've got a first page with thumbnails on it and when I click on one, a new form opens with a large size picture in it. The problem is that I can open and close the large picture 2/3 times but the next time it gives an error of outofmemory exception. so the code of the thumbnail is void picturebox_Click( object sender, EventArgs e) { Frm_PictureViewer frmArticleFS = new Frm_PictureViewer (); frmArticleFS.ShowDialog(); frmArticleFS.Dispose(); } On the frmArticleFS there is a button close with the code "this.Close()" in the click event. Does anybody now how to solve this Grtz Annihil8 I've heard that images are ...Show All
Visual C# Reflection: define get and set dynamicaly
Hello, How do I define get and set methods for properties dynamicaly Maybe with PropertyBuilder, but I didnt find any sample. Thanks. What do you mean by define them Reflection involves using meta data to learn about existing classes and object... so to get a reference to the get and set methods of a property named X you might use the following: public class MyClass { private int x; public int MyProp { get { return x; } set { x = value; } } } ... Type t = typeof(MyClass); MethodInfo writeMethod = t.GetProperty("MyProp").GetGetMethod(); MethodInfo readMethod = t.GetProperty("MyProp").GetSetMethod(); But th ...Show All
Visual FoxPro using Textbox control...
Hello friends... I am new to visual foxpro. I have been learned programming in Foxpro 2.6 for Dos.. Now I want to learn visual foxpro.. I had make just a simple form with one textbox and two command buttons. I just want to do if I click command button1 then textbox show today's date and if I click command button2 then textbox show currunt time... What codes I have to write in command button1 and 2 Need your help...thanks a lot Assuming you haven't changed the Name property of any of the controls, code like this should work. In the Click event method of Command1, put: ThisForm.Textbox1.Value = DATE() ThisForm.Textbox1.Refresh() ...Show All
Smart Device Development WebBrowser back key (Escape key)
Hello! I've got a form where I've added a WebBrowser control. The WebBrowser has focus. I now want to capture the back key event while the WebBrowser has focus. I hav already tried to use "KeyPreview = true" in the form of the WebBrowser with no luck. I dont want to disable the key, just let the key display the previous group of controls that been showing before the WebBrowser. How can I do this Thanks, Martin The answer to the problem I mention above is to not look at Keys.Back/Keys.Backspace but ONLY Keys.BorwserBack when determining if you need to navigate back. The above implies handling the PreviewKeyDown event. ...Show All
Windows Forms datagrid row select
hi, i am jerry_sun i use .net framework 1.1 and visual stadio 2003. i have a problem on datagrid. when i click the last row header of the show area to select by mouse, the scrollbar move one row , and the next row also selected. is this a bug of datagrid thank you ...Show All
Visual C++ Dynamic Sound Creation
I have been thinking recently that I would like to do something with dynamic sound, or in other words; creating sound during runtime without the use of .wav files etc. I know that this is possible because this method has been used for things like speech engines. Microsofts TalkIt for example has the ability to have 5 different varaibles factored into the voice; Pitch, Volume, Accent (only english and spanish in TalkIt), Pitch Quality (Natural, Monotone, Sung), and Vocal Effort ( Normal, Breathy, Wispered). So I was wondering if anyone knew how you would go about doing this, or if you knew of somewhere there would be tutorials on this creating of dynamic sound. Please direct this question to the multimedia newsgroup at http://ms ...Show All
Windows Forms How to update one field in a few rows in the Datagrid?
Hi all, This must be very simple but since this is my first tool which access SQL I am a little bit lost here. After my Datagrid is filled with the records I am able to select the rows that I want to update but I am not able to change the value of the fields in these rows. I want to change the field "Accountid" to have a value of "xxxxxx", here is the code: private void btnUpgrade_Click(object sender, EventArgs e) { string strAccountid; CurrencyManager cm = (CurrencyManager)this.BindingContext[dgSource.DataSource, dgSource.DataMember]; DataView dv = (DataView)cm.List; for ( int i = 0 ; i < dv.Count ; ++i ) { if ( dgSource.IsSelected(i) ) { strAccount ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Update frames for 2D animations
Hi all, In my previous program (C# + MDX), I use the Timer in System.Windows to update the frames by using suitable time interval. Now I would like to change to use XNA. But I don't know whether the Timer class will be supported in XBox360. Therefore, I would like to ask whether there are better ways to show 2D animations. I have read the 2D animation in "HELP". But I would like to know whether there are any other approach. All the animations update the frames in the 'Update" function and therefore all the 2D animations update the frames in the same time. If the fps varies, the timing for refreshing the frames also varies. That's not what I want. Thank you very much The Update method gives ...Show All
.NET Development msxml 4.0 SP2 (kb 927978) installing continuously
I reinstalled my sistem three weeks ego.Updates coming one by one,every minute ,non-stop.After every update finished,in my C disk is making a new file like ff22b18b93b61efeac529dda2518...calling.There is more than 400 of those files.Can someone tell me if is something wrong with my laptop and if it is what to do thanks! Friend of mine had this problem and solved it by uninstalling MSXML4 and installing it back. ...Show All
SQL Server RB - Multiple Data Source for Report Builder
I add two data sources to the designer. Create a new dsv using one data source first. Then right click in the designer to add a new table. This time I use the second data source. When I create a Report Model and run it, an error occurred: "Message: Invalid object name 'dbo.tblTrade'. Command: SELECT COUNT(*) FROM [dbo].[tblTrade] t" It does not recognize the second data source. Look at the property of the dsv, it only points to the first data source, not the other one... MSDN Online Book link below: http://msdn2.microsoft.com/en-us/library/ms175683.aspx ...Show All
Community Chat Physics Calculators *New*
Hello there, I'd just like people to try my new programme, Physics Calculators. This programme can do any GCSE equation which is needed to be known for the exam. You will not be able to use it in the exam but it'll be able to help you in revision and it tells you the method. There are lots of things which you can do on my programme... Do GCSE physics equations Change your background colour Turn on a speech DLL which will read the text you hover your mouse over *beta* -- only works on some forms Report an Error to me Lots more ...Show All
Smart Device Development Prevent standby/keep app running in standby?
Hi All I'm currently writing my diploma thesis and as a part thereof i am writing a WM based application to constantly log some data (various sensor input via Serial, picture capturing, audio recording and GPS via Bluetooth) which will later on be used for some data mining/context awareness stuff. It is absolutely crucial that i have a constant stream of incoming data that is not interrupted by e.g. standby, be it system or user initiated... And that is exactly where i am stuck now... :-( Does anyone know how i can prevent my wm 2005 PPC device from going into standby, even if the user clicks on power off button However, if this is possible, will the keys and the touchscreen still be locked (not a must, but would be nice) (Btw.We ...Show All
