Ultrawhack's Q&A profile
Visual Studio Custom Add File and Linking File
Hi All, When you right-click on Debugging in Solution Explorer in Debugging window, you can add a new item with your own DSL template. Can I perform this with just clicking a button I made by myself Second one, let's say I add two new DSL files; test1.mydsl and test2.mydsl. How can I link these two files For instance, in test1.mydsl I make the relation between System1, System2, and System3. And in test2.mydsl the full diagram of System1 is specified. Can anyone please help me, or point me to links that are related Thanks in advance. Herru Thanks, Edward! Your answers sound interesting. I've heard about GAT/GAX before, but I didn't know what is exactly the purpose of that and the relation to DSL. I thought my application w ...Show All
.NET Development How to store strings that consists of characters like (aaoAAO) in a database by using a detailsview?
Hello everybody I'm trying to insert/update values in a database by using a detailsview. It works fine if my input string consists of only characters like ( a-z, A-Z). But i also need to use charachter like( aaoAAO), but these values are stored as (å ä ö Å Ä Ö ) in the database, why How can these values be validated so they are stored in a proper way Regards Ylva by default, detailsview store the UNICODE value for every field, you can set HtmlEncode attribute to false in the Field element of DetailsView's Fileds in aspx page, like this: <asp:DetailsView ID="DetailsView1" ...........> <Fiel ...Show All
Visual Studio Express Editions Win32 API's
Hi All H ow can i see all the methods inside WinAPi's like user32.dll,kernel32.dll etc.. Looking For Response Decipher take a look at this too: http://www.nirsoft.net/utils/dll_export_viewer.html ...Show All
.NET Development How to get all the cookies
Hello, I have a problem with getting all the cookies. I use HttpWebRequest and Ethereal shows the following HTTP/1.1 302 Found : thanks for reply.. but, i have problem still.. I made a simple app. when I send Request, I expected 8~9 cookies because Fiddler Show that cookies... But,, cookie count was only one. private void button8_Click(object sender, EventArgs e) { CookieContainer cookies = new CookieContainer(); ServicePointManager.Expect100Continue = false; string mystr = "id=myid&pw=mypass"; byte[] data = Encoding.Default.GetBytes(mystr); HttpWebRequest wr = (HttpWebRequest)WebRequest.Create(" http://login.daum.net/Mail-bin/login ...Show All
Smart Device Development Error in compiling a cab project for smartphone
I am getting following error when compliling callingcard cab project Error 1 Error result 1 returned from 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\signtool.exe'. Project Error 2 The signing tool encountered an error. See the output window for more information. C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\CPP\Win32\Callingcard\CallingCardCab.vdproj OutPut window 1>------ Rebuild All started: Project: CallingCard, Configuration: Debug Windows Mobile 5.0 Smartphone SDK (ARMV4I) ------ 1>Deleting intermediate and output files for project 'CallingCard', configuration 'Debug|Windows Mobile 5.0 Smartphone ...Show All
Software Development for Windows Vista One of multiple events handled by EventDrivenActivity: possible?
Hi, I have a state machine that in a certain state S1 should react to one of the several different events E1, E2, E3, E4 and then execute the same single CallExternalMethodActivity followed by a single SetStateActivity. In other words, I need an equivalent of EventDrivenActivity without the restriction of having only one HandleExternalEventActivity as the first child activity. Ideally, there would exist a HandleExternalEvent s Activity (note the plural) that would behave just like HandleExternalEventActivity except that it would "wait" for more than one event. More precisely, this imaginary activity would "continue execution" as soon as any one of the events would be raised, not all of them. Can I simulate this behavior ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3d tools using mfc+Directx
hi all, Basically am a entry level game programmer now i had started my path on tool development, presently i am developing a software like motion editor for that i need to write code for the basic setup so i want to know is there any article of tutorial for creating the basic setup using MFC + directx. ie multiple viewport (you know what a editor needs) please help... KissPsycho thats great me too from chennai, are you a game programmer, which company its nice to hear that gaming peoples here around chennai. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Making one object face another
Hi, sorry, my math skills are pretty weak. I've got two actors in my scene. I have a float storing their Y rotation and now I've got some basic pathfinding in, but I can find out how to make the one character face the other. I have Vector3's for both actors and both Y rotations.....any ideas how I can find out how many degree one actor would have to turn to face the other v1 = actor1.direction; v2 = actor2.direction; float angle = -Math.ACos(Vector3.Dot(v1,v2)); // since the dot product returns the inverse cosine of the angle then just do a matrix rotation transformation to v2 to get it to align with v1 :D ...Show All
Visual Studio 2008 (Pre-release) Xaml troubles
Great to be a part of the community. I'm having a lot of trouble with the implementation of xaml files with vs2005. I've installed everything neccesary to run winfx stuff (the winfx rtc, windows sdk, winfx ctp extensions dec 2005 and vs2005) successfully but am having difficulty getting a xaml file to run with presentationhost.exe. Here is an example. I write this and save as test.xaml... < xml version="1.0" standalone="yes" > <Window> <Button>Hello World</Button> </Window> and i get this... "An error has occurred in the application you were using" window + more details.. Startup URI: C:\Documents and Settings\CJ\Desktop\test.xaml Application Identity: file:///C ...Show All
Visual C# Late binding in C# - How to pass an object and yet use hardcoded properties?
Hi, I will use an example to describe my problem: I have two objects - Say Student and Teacher. The two objects share some properties - Say Name and Birthdate I have one method that lists person name and birthdate. I need to pass an object and yet use the properties - Something like this: private void ListPersonInfo(object person) { Console.WriteLine(person.Name, person.BirthDate) } The above does not compile since at compile time the Name and BirthDate are properties of their respecitve objects and are not properties of the Object class. I don't want to use two methods one for teachers and one for students. I also know that it is not a good OO practice to pass plain objects like this and I don't want to us ...Show All
.NET Development Aggravating WinFX Runtime Components 3.0 - Beta 2 uninstall problems...
I'm using the uninstall tool provided by microsoft to remove previous versions of winfx. It tells me i'm missing 2 files to complete the uninstallation. indigo.msi and vs_setup.exe. I will admit b4 i knew about this tool, i just went in to the add/remove programs and started uninstalling so thats probably when the needed files were removed. My question is how to i get these files back. What do i need to install to get them back. I tried reinstalling WinFX Runtime Components 3.0 but still no avial. Any help is much appreciated. Brian Please send the log files to labshmo-at-hotmail so that we can review and debug the situation. You should find them under (%temp%\dd*.*). ...Show All
Visual Studio Team System VS doesn't check out files automatically (R attribute missing)
I use VS 2005 and TFS as a Source Control. When I edit a file, VS doesn't check it out automatically like it did before. After some investigation, I found out that only if a file as the R (read-only) flag set, then this works. I have no idea how my files lost the R attribute. So I set them back it via console. This worked for a while. But now the already "lost" their R flag again! First of all I think it's pretty silly to rely on that attribute (see SVN how to do it right), but how do all my files loose this attribute and what can I do that it works correctly again Thanks alot, Rainer. You're right that VS only does auto-checkouts if the file is read-only. The other requirement is that the ...Show All
SQL Server Exporting to Excel Problems (URL Access)
Hello, I'm using SQL Server 2005 Reporting Services. I'm having an issues when exporting to Excel. I'm using URL Access to generate the report and display it in a browser window. I then choose Excel and click the Export link. Doing this opens a temporary browser window and then a dialog that asks if I want to save the report or open it. If I choose to open it, the report opens in Excel without problem. The problem is that the temporary browser window doesn't go away (close) automatically like it should. What makes this a little more strange is that this behavior only seem to occur on a Windows XP computer. If I run the report from a Windows 2000 or Windows Server 2003 computer, the temporary browser windows closes automatically (and the re ...Show All
Visual C# R6034 (load DLL without manifest) or System.IO.FileNotFoundException
I'm trying to port my application from .net 1.1 to .net 2.0, and have encountered an annoying problem which I've not been able to find the solution to. My app is a C# Forms app, which calls a mixed C++ .DLL file. I'm fairly sure its having a problem loading MSVCR80.DLL. Depends.exe shows this as the one missing dependency. VisualStudio 2005 automatically upgraded the projects from the old VS2003 format. I've checked and it is set to generate a manifest files and embedded it. I've opened the DLL in Visual Studio's resource view and can see the manifest (with ID 2). If I try to run my application, as soon as it goes to use a class from the DLL, it gives me a System.IO.FileNotFoundException. If I copy MSVCR80.DLL to the applicatio ...Show All
Smart Device Development check if clicked in region
Hi, I have an array of points. Those points form a freeform polygon. Now I want to check if the person clicks in or out that region. In the full framework i use graphicspath.addPolygon(array) and then graphicspath.isvisible(x,y); This works fine in Full Framework but in the CF2.0, graphicspath is not supported. Anybody an idea how to solve this Grtz Annihil8 You'd need to do some rather simple calculations yourself, e.g. like this . ...Show All
