Software Development Network Logo
  • Windows Forms
  • Microsoft ISV
  • Visual C#
  • VS Team System
  • Smart Devicet
  • Visual FoxPro
  • SQL Server
  • Visual Basic
  • Game Technologies
  • SharePoint Products
  • IE Development
  • Audio and Video
  • .NET Development
  • Visual C++
  • Windows Vista

Software Development Network >> dotnetwizkid's Q&A profile

dotnetwizkid

Member List

Jakein2006
suseela
ivarsv
LaViMa
Michael Carty
K Sumeet
Barry Kwok
PedroCGD
Justin Patterson
TA123
Francis Shum
Ezaz Mohammed
CIB
dfl
KeithGWilliams
Biodegradable
.Net Person
Janez T.
toadspit
Santosh A H
Only Title

dotnetwizkid's Q&A profile

  • Visual Studio Prevent rules from firing during model deserialization

    I have code in my custom rules that connects to a database and populates values in the associated model entities. Obviously, all this information is persisted in the dsl file, so I dont actually want these rules to execute when loading up the diagram into the designer (this causes the 'Add' rules to be fired for example), only when I actually drag and drop a new object onto the canvas. Is there some way I can tell the system, or some code I can put into my rules, that can determine if the rules is being fired during model deserialization This would be very helpful... Thanks!! found the answer! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=505399&SiteID=1 Thanks (c; ...Show All

  • Windows Search Technologies Desktop Search shortcut

    I'm trying to make a shortcut to launch Desktop Search with the Search Filter panel displayed. Does anyone know the syntax to do this "C:\Program Files\Windows Desktop Search\WindowsSearch.exe" /xxxxx What should the /xxxxx be to make this work Ok, I understand. There is no direct .exe you can run to do this. But, if you know how to program, all you need to do is write a simple C program to call a win32 api. SHFindFiles is what the shell uses to display the search pane from the start menu. SHFindFiles(NULL, NULL);    Other than that, you can use 3rd party programs called "SendKeys". These programs mimic keyboard input, and you would give it "Windows Key"+F keyboard comma ...Show All

  • Visual C++ Should this sample run without a crash?

    Hi, today I was testing some things and came across with something like this: #include <iostream> using namespace std; class A { public: void print() { cout << "test"; } }; int main() { A* a = 0; a->print(); return 0; } And I was a bit surprised when it ran without any problems both in debug and release in VS 2005. Well, I realize that since the code doesn't depend on the class, it may seem armless to run it but.. is this right Should it run in cases like this Is this standard or is it something that the VS team choosed to do since the code doesn't depend on the class I didn't check the standard yet to check if it says something about these cases, and I have to admit that sometimes it's hard for ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Animating Billboards Using A Single Texture

    I just finished a basic billboard class that is capable of reading in multiple textures and animating. However, I would like to read in a single texture file and be able to simply change texture coordinates to change the appearance of the billboard. Now, I could recreate my VertexBuffer each frame, but that would be a lot of wasted processing. Is there a way to dynamically alter the texture coordinates for VertexBuffer objects each frame Edit: As a bonus question, how do I enable the alpha channels in my textures Right now it shows up white. I am using the BasicEffect. Would I have to write my own effect just for that Seems rather silly but I will if I have to. Edit 2: As bonus question 2, how can I disable antialiasing of my textures I'm ...Show All

  • Windows Forms Changing Color of a listview

    How would you make like these different sections gray and other colors look on this picture, the parts circled are what im talking about. http://www.winmxunlimited.net/lview.png Also the color that that is shown when u click on an item. the highlight color. Right click on your desktop. Click on properties. Then on Appearance. Then click on advanced. In there you can change all the colours. (Assuming you are running Windows XP) ...Show All

  • Visual Studio Team System Problems with glimport

    I tried to add a new globallist called Teams today and it failed with an exception: Exception from HRESULT: 0x8004EA73 < GLOBALLIST name = " Teams " >   < LISTITEM value = " [Global]\Team - Database " />   < LISTITEM value = " [Global]\Team - Desktop Applications " />   < LISTITEM value = " [Global]\Team - Graphics " />   < LISTITEM value = " [Global]\Team - Management " />   < LISTITEM value = " [Global]\Team - Math " />   < LISTITEM value = " [Global]\Team - Printing " />   < LISTITEM value = " [Global]\Team - QA " />   < LISTITEM value = " [Global]\Team - Sales " />   < LISTITE ...Show All

  • Windows Search Technologies search protocol host

    Hello, i use vista build 5600 on a toshiba laptop with office 2007. if i start outlook 2007 with bcm i get the mistake microsoft search protocol host is not in function. what can i do sincerely Andreas Here is the response from the BCM team: These CABs indicate that one of the CLR hotfixes that are required by BCM and are installed by the BCM setup is missing or installed incorrectly from the machine. This hotfix is installing version 2.0.50727.91 of mscorjit.dll and several other CLR DLLs. All of these CABS have version 2.0.50727.42 of mscorjit.dll and some have also version 2.0.50727.42 of the other CLR DLLs installed by this hotfix while the others have version 2.0.50727.91 of some of ...Show All

  • Visual C++ Explicit Interface Method Implementation

    In MC++, I can do the following: - __gc __interface ICloneablePerson { Person* Clone(); }; public __abstract __gc class Person : public ICloneablePerson { private: String* _name; protected: Person() :_name(String::Empty) { } Person(String* name) :_name(name) { } Person(Person* source) :_name(source->_name) { } public: __property String* get_Name() { return _name; } }; public __gc class Student: public Person { private: String* _id; public: Student(void) :Person() { _id = String::Empty; } Student(String* name) :Person(name) { _id = String::Empty; } ...Show All

  • SQL Server Please Help! "Out of present range" error in SSAS 2005

    When I run the following MDX Statement from SSMS select descendants ([Stores].[Stores].[All Stores],Store) on columns from MyCube I get the following error Executing the query ... The following system error occurred: Out of present range. . Execution complete However, when I run the following, I get no error: select {[Stores].[Stores].[Store]. members } on columns from MyCube What can possibly be causing the "Out of present range" error What does this error mean Does it have to do with the Stores dimension Or with the cube itself Reprocessing the whole DB didn't help, nor rebooting the server. We have an undertermined number of queries using the above construct, and all of a sud ...Show All

  • Visual FoxPro File is in use by another.

    When getting an error "File is in use by another" - Is there a way to trap what file is this I am using the sys(2018) but I don't get any info in there. Thx. Aleniko wrote: When getting an error "File is in use by another" - Is there a way to trap what file is this I am using the sys(2018) but I don't get any info in there. In what context are you seeing this error ...Show All

  • Architecture Approach for modeling a class to import/export information

    In my web app (C#), we need to import/export an infinity of txt, xls and xml files. I would appreciate opinions or experiences on how would be an elegant (though easy way) to implement a class/componentto deal with this. BTW, the mechanism will be always the same, that is, import some information from a file (xml, txt or xls) and save it to the database (we are using an ORM), or read some information in DB and export it to a file (xml, txt or xls). I don't think there is a component like that, but you could consider using office itself to do this bit for you. You can then read the data from office. In that case use Access, because reading from excel is in this case only feasable trough COM and that will not perform. If you can ...Show All

  • .NET Development Database "design" question

    Hi, we are working on a programm that uses a database comparable to a movie-database. Theres a table with all films. Each has an englisch name and sometimes there is a german, italian, spanish, ... translation. We think that it is the easiest way to use the englisch name (which every film has) as default name to add a column for every other language that may occur (that might be about 8). As result we will have ca. 70% empty entries in these 8 rows. But this shouldnt be a problem because we use VARCHAR as type and sql querries only use the default language-column and the column of the language the user wants. Do you think this approach is ok There will be arround 50000 entries in our database. Our should the language translation be seperat ...Show All

  • SQL Server Domain group logins failing on SQL 2k5 workgroup

    This question is regarding a brand new out-of-the-box SQL Server 2005 Workgroup Edition install. The old SQL Server 2000 server is working properly with regard to the issue we're having: We are using Windows Authentication, and have created SQL logins for about 40 different groups on our domain. We've given those logins the appropriate permissions on the databases they're supposed to be able to access. The SQL Server is not a domain controller, but is a member of the domain, and domain logins do work for Windows-login purposes on this box. The problem is that when users try to connect to the SQL server, they are denied access. An error 18456 is thrown, and logged in the Application event log stating "L ...Show All

  • SQL Server How does SQL Server 2005 work with old applications

    Hello All, How does SQL Server 2005 work with all ready existing applications that ran on SQL Server 2000. Does SQL Native Client work backwards compatible to the old applications, And if it is, is there anything special I need to do. If it is not backwards compatible, do I need to use the old MDAC How would I use it in SQL 2005. Thanks all..... Nina It should all be fine. There are a few deprecated things, but generally not too many. If you're calling stored procedures, you shouldn't have to change anything. If you're writing queries in your applications, you may want to test them all before you confidently switch, but typically you won't find much that doesn't work. ...Show All

  • .NET Development Drive Letter in .net 1.1

    Hello there.. i'm working in a windows app developed in .net 1.1 and i need to know which drive installed in a computer is a cdrom drive, for example for a list of drives currently installed how do i know which is a cdrom I know that there exists a DriveInfo class in .net 2.0 but i'm still working in 1.1 and migration is not possible yet... there is a way to achieve this, through a .net native class or pinvoke Thanks, Gabriel. ManagementObjectSearcher searcher = new ManagementObjectSearcher( "Select Name from Win32_CDROMDrive" ); foreach (ManagementObject cdrom in searcher.Get()) { Console.WriteLine( "CD-ROM Name: {0}" , cdrom.GetPropertyValue( "Name" )); } ...Show All

©2008 Software Development Network