Áron Kolozs's Q&A profile
Windows Forms Deploying to Program Files
Hi, I am using C# 2005 Express edition and I cant select a directory I want my application to install into. I would like to deploy into program files. The Publish wizard works fine, and I can distribute my applicaiton, but I dont know where it installs into. I cant see an exe file anywhere on the computer I deployed on, yet my app works.. Is there more deployment options in the full version of C# 2005 that i need Windows Installer is part of the OS and is nothing to do with .NET or C# or ClickOnce. There are a bunch of tools you can use to build MSI files, Visual Studio non-express being one of them. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MDX 2 Time Bomb
Almost all MDX2 Ctors are calling the bombing code below: public static unsafe void CheckTimeBomb () { DateTime time1 = new DateTime ( 0x7d6 , 10 , 5 ); if ( DateTime . Compare ( DateTime . Today , time1 ) >= 0 ) { MessageBoxW ( null , & _C@_1PI@LKOFODJP@ $AAT $AAh $AAi $AAs $AA 5 $AAp $AAr $AAe $AA 9 $AAr $AAe $AAl $AAe $AAa $AAs $AAe $AA 5 $AAv $AAe $AAr $AAs $AAi $AAo $AAn $AA 5 $AAo $AAf $AA 5 $AAD $AAi $AAr $AAe@ , & _C@_1DE@JJLLKEIK@ $AAM $AAi $AAc $AAr $AAo $AAs $AAo $AAf $AAt $AA 5 $AAM $AAa $AAn $AAa $AAg $AAe $AAd $AA 5 $AAD $AAi $AAr $AAe $AAc $AAt $AAX $AA $AA@ , 0x2000 ); throw new TimeBombException ( "This pre-release version of DirectX has expired, please upgrade to the latest version f ...Show All
SQL Server Check if a windows/nt user account exists
I have some script which creates/grant priveleges to windows/nt users to DB but i frequently get the message below: Windows NT user or group '<user or group>' not found. Check the name again. I understand that this is because the said user/group is indeed not present in the environment I'm running the script (ie. testing and production environment). But is it possible to have some sort of checking whether the user/group exists in the environment so that I could determine whether or not to call some lines of code Not sure if this is possible so i had to ask. c",) SELECT * FROM sysusers will show the users from the current database. There are columns like isntname ...Show All
Game Technologies: DirectX, XNA, XACT, etc. text mixed with 3d
thought id ask another question while im at it. i want to display text on the hud of my 3d engine. i did some searching and came across some of the text components out there and chose the nuclex.fonts componenet (very good imo). this works fine on its own or with other 2d objects (eg. sprites) but if i render any 3d objects, all the 3d objects have z buffer issues. i noticed this problem when i first introduced sprites into my engine and it was fixed via the spritebatch.begin methods savestatemode parameter. however, this functionality doesnt exist with the nuclex.fonts package, so my 3d objects are all screwed again. is there another option to prevent this, or can someone tell me how to manually save my renderstate and restore it after re ...Show All
Windows Forms installing windowsInstaller
for run and execute .NET Framework 2 with installscript, I need to install windowsInstaller. Enyone knows how can I write script for installing windowsinstaller 3.1 on installscript. Which operating system are you using for this test MSI 3.1 doesn't support some older Windows versions. Please see "What platforms does Windows Installer run on " at http://www.msifaq.com/a/1001.htm ...Show All
Windows Search Technologies Installation
I am running Windows XP x64, in trying to install Desktop Search receive error message indicating that installation failed, check log file KB917013 in the windows directory. Log indicates: Global registry changes. Install error 0x5. INF Registry Failed. I'm logged on as the administrator. Any ideas as to what is wrong ...Show All
Visual Studio Team System How to customize a field to be visible only as disabled textbox
I have a problem with the customizing of a workitem which I designed new. When I add a new one programmatically, an id will be generated. This id appears in the workitem in a normal textbox (with white background). I want to change this id only programmatically, so it should be displayed in a box in the type of for example "system.title" (with grey backround and not editable). How could I realize this If you mean that you want to display the system.id field in your work item as a read-only field, I think it will do this by default, since this is a special core field, whose value is assigned by the server and cannot be changed. To display it you need to add it to the <FORM> layout sect ...Show All
Windows Forms How to: design-time or run-time (again)
Hi, I need a control to have a different visual appearance during design-time as opposed to run-time. Nothing fancy. As proposed so often before I use the " this .DesignMode" property. However: 1) Create a CustomControl and in the OnPaint() do something like: if ( this .DesignMode) pe.Graphics.FillRectangle( Brushes .Red, new Rectangle (10, 10, 10, 10)); 2) Create a UserControl and in the designer drop the CustomControl onto it. You will indeed see the red rectangle as intended. 3) Drop the UserControl on your main form. The red rectangle will not show. Apparently the DesignMode property is limited to Controls actually being editable. Understandable but I need design time appearance everywhere while w ...Show All
Architecture Strategic Architect Forum
This is flagship Microsoft Event being held in Mumbai, India. https://msevents.microsoft.com/CUI/EventDetail.aspx EventID=1032326039&culture=en-US http://DotNetWithMe.blogspot.com vikas goyal ...Show All
Smart Device Development How to use own dll in C#
Hi Guys I am new bie in Windows mobile platform. I am building a smartphone application using c#. It uses our own NetwrkAction.lib. Can you guys help me how can i use this lib in the project. I have follwoing functions that has to be used in the application. EXPORT CNetwrkAction* CALLBACK CreateNetwrkAction(); EXPORT void CALLBACK DeleteNetwrkAction(CNetwrkAction* obj); EXPORT int CALLBACK Configure(CNetwrkAction* obj,LPVOID aErrorNotifier,LPVOID aEventNotifier, const char *aPrimaryGateway); EXPORT int CALLBACK ConnectToServer(CNetwrkAction* obj); EXPORT int CALLBACK RequestToServer(CNetwrkAction* obj,const char *aPrimaryGateway); Can anybody tell me how to use this DLL with my program. You can't, not with C++ class. It needs ...Show All
.NET Development Error while building the following code
Below is first.il code.... I am compiling it with ilasm /nologo /quiet /debug first.il...... while compiling i m getting this error Error: Reference to undefined class 'System.Console' (token 0x01000003) Could not create output file, error code=0x80004005 .assembly Test1{} .class Test1 { .method public hidebysig static void Test() il managed { .entrypoint ldstr "Hello" call void System.Console::WriteLine(class System.String) ret } } I am not getting what's wrong in above programm..........can anybody please help me out........ Yes, that is the proper code for a .NET 2.0 application. To get ILASM to auto detect the version, remove the entire reference to mscorlib, like so: .as ...Show All
Software Development for Windows Vista Newbie question - Methods not available
Hi folks, Forgive me if this is a real dumb question... I'm a newbie to MS Workflow Foundation, and have only today download the Visual Studio 2005 extensions. I am working through a book I've bought on the subject "Presenting Windows Workflow Foundation - Beta Edition", and have fallen more or less at the first hurdle. One of the very first example contains the following code: ====================================== Shared Sub Main() Dim workflowRuntime As New WorkflowRuntime() workflowRuntime.StartRuntime() AddHandler workflowRuntime.WorkflowCompleted, AddressOf OnWorkflowCompleted Dim type As System.Type = GetType (Workflow1) Dim parameters As Dictionary( Of String , ...Show All
Visual C# Difference between isEqualTo() and "=="
Hi all, I have doubt about difference between == and isEqualTo method in C#. Similar Discussion has been done here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=857791&SiteID=1 Please have a look! Best Regards, Rizwan ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNADominos - Initial release
Just thought I'd post my first release of XNADominos. Its a port of a DX app I wrote a while back mainly as a learning experience. Next release will include source and an editor. Anyway, binaries and screenshots can be found here: http://andyq.no-ip.com/blog/ cat=4 Andy I am willing to share it on a need to have / want to have basis right now because it is still in its VERY early stages. The code is uncommented, very "dirty" and the engine as a whole still needs to get more functionality before I can even consider it to be releasable. I am willing to let people have it on a more one to one basis so I can get feedback from those I give it to. ...Show All
.NET Development xml - excel
Hi, I have been given an .xml file to investigate how it produces data. Basically there is a file called testData.xml when this file is double clicked, it opens up in excel with data. If you right click and open in excel then a properly formatted excel workbook with two named sheets appear which have both got formatted data in them. I have pasted the first few lines of the xml file for you to see. Could you let me know how this is possible and where is the data coming from < xml version="1.0" > - <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas- ...Show All
