in.the.dark's Q&A profile
Windows Search Technologies WDS 3.0 RTW gives error trying to index Outlook Express message store
When WDS 3.0 RTW tries to index the Outlook Express message store, I am getting the pop-up error: "Outlook Express could not be started. The application was unable to open the Outlook Express message store. Your computer may be out of memory or your disk is full. Contact Microsoft support for further assistance. (0x80004005, 183)" I have plenty of memory and the disk is not full. Does this version index OE Any idea how to resolve this I am also seeing events such as these in the Event Viewer: Event Type: Warning Event Source: Windows Search Service Event Category: Gatherer Event ID: 3036 Date: 10/26/2006 Time: 12:09:18 PM User: N/A Computer: PC1 Description: The content source < ...Show All
Windows Forms Using Propertygrid Collection Editor for editing Hashtables
Hi, I have a class with a property of type Hashtable. When using a propertygrid control to edit this property, the Collection Editor shows, but all buttons (including the Add button) are disabled. I have tried using the following attribute, yet to no avail: [TypeConverter ( typeof ( CollectionConverter ))] I suspect I will have to create a Custom Collection Editor, yet I'm not quite sure how to go about doing this. I've searched the forumns, and haven't come up with anything that has helped me much. Any help or insight would be greatly appreciated, thanks. ...Show All
Visual Studio Express Editions I need help. Labyrinth type help system of VB Express could not help me at all
Somebody please tell me regarding a query result how to: Programmatically go to a specific row and retrieve the value in a particular column and send it to a variable. Key Words: Visual basic express, Windows application, SqlSever, Local data, Using TableAdapter, Not using binding objects. Thanks Dim cmd As New OleDb . OleDbCommand () Dim Cnxn As New OleDb . OleDbConnection ( My . Settings . TestConnectionString ) With cmd . Connection = Cnxn . CommandText = "Select TheField From MyTable Where UniqueID=1" . CommandType = CommandType . Text End With Cnxn . Open () Dim TheFieldValue As Object = ...Show All
Visual C++ int and long bit sizes
What is the bit size of these two types when I compile a C++ program on 32-bit processor What about a 64-bit processor Thanks. So they are 4 bytes no matter which processor it's compiled for And why use long over int when they are both the same size ...Show All
Game Technologies: DirectX, XNA, XACT, etc. your first game!
Hi, just wanted to express my views on the 'my first game' section... guys, this is a waste of time. please don't do things like this in future. it explains nothing, it teaches nothing. it just lets me copy and past a load of code and then marvel at what the program does. you may as well just give us the file and say look what we did. It's not all negative. the tutorials on visualbasic express were wonderful. I couldn't believe at how insightful they were. is this done by the same people well thats my feelings on that anyway. if your gonna do any kind of tutorial, take some tips off the visual basic ones. and if your gonna ask us to copy and paste code, make it small chunks, and describe what the commands are doing. othe ...Show All
Visual Studio Team System Problem with Percentage Null in Generation Plan
Hi all... I have a problem with a Generation Plan, this is the situation.. 3 tables: College, Student and Users. In Student table i have this structure: college_id NOT NULL student_id NOT NULL user_id NULL Where PK = college_id, student_id and there are 2 FK: college_id with College.college_id and user_id with Users.user_id The problem goes here... if i set on Student.user_id Percetage null = 25, visual studio changes Student.college_id percentage null to 25 too!! there is no way to set diferent values in this columns... if i change student.college_id, student.user_id get changes too... :( (college_id is NOT NULL so if i set percentage null = 25, script fails... :( ) A bug A program limitation Anyone can help me R ...Show All
Visual C++ am new bee, What is wrong with the following function. compile no error. but its not working at all. bascially from a variable i
am new bee, What is wrong with the following function. compile no error. but its not working at all. bascially from a variable i only need number. if any soultion pls help. dont delete my post //Function to take number only CString chkString(LPCTSTR instr){ CString output(instr); int len=lstrlen(instr); int Str2Check; for(int n=0;n<len;n++) { Str2Check = atoi(output.Mid(n,1)); if ((Str2Check = 0) && (Str2Check = 1) && (Str2Check = 2) && (Str2Check = 3) && (Str2Check = 4) && (Str2Check = 5) && (Str2Check = 6) && (Str2Check = 7) && (Str2Check = 8) && (Str2Check = 9)) outString+=Str2Check; else { outString="0"; break; } } return output; ...Show All
Visual Studio 2008 (Pre-release) Access to an panel inside a ItemsPanelTemplate
I have the following code: < Grid Name = " GlobalGrid " > < Grid.Resources > < ItemsPanelTemplate x:Key = " AnimatedItemsPanelTemplate " > < AnimatedPanel:AniTilePanel ItemWidth = " 110 " ItemHeight = " 100 " x:Name = " ListBoxAniTilePanel " /> </ ItemsPanelTemplate > </ Grid.Resources > < ListBox x:Name = " MasterList " ItemsPanel = " {StaticResource AnimatedItemsPanelTemplate} " IsSynchronizedWithCurrentItem = " True " /> </ Grid > In my code, I want to access to my AnimatedPanel so I've try the following: ItemsPanelTemplate template = this .GlobalGrid.FindResource( "AnimatedItemsPanelTemplate" ) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Alphablending 3D
I know when doing alphablending you have to draw objects in order. I believe you must draw more distant objects first. I assume this distance from the camera. Can anyone point me in the right direction as far as implementing this Doing perfect depth sorting is near impossible for 3D games. You'll have to draw your mesh by subsets at any rate and it may well be that a subset (or even a triangle) is both in front and behind another subset. This doesn't mean alpha blending is bad, but just that there's no perfect solution that will make alpha blending 'just work'. Because depth sorting may be hard and inefficient to implement, a typical alternative is to use alpha testing instead if you only need opague/t ...Show All
Visual Studio 2008 (Pre-release) RichTextBox, insert an Inline element at CaretPosition (in an existing Run)?
If I have some text “XXXYYY” and the CaretPosition is between the “XXX” and the “YYY”. How can I then add my own Inline element at the cursor position If I use “ this .richTextBox1.CaretPosition.Paragraph.Inlines.Add(myInline) “ it will (of cause) add to the end of the current run. Best regards, Thomas Andersen is this what you are looking for rtb1.CaretPosition.GetInsertionPosition( LogicalDirection .Forward).InsertTextInRun( "some more text" ); ...Show All
SQL Server xp_execresultset equivalent in sql server 2005
Hello everyone, I would like to know is there any equivalent and/or substitute for xp_execresultset procedure, in sql server 2005. Thank you. Thank you Adam for your time. I'll give some tests on your solution and post you results. Umachandar, I was aware of the fact it is not supported by Microsoft, at the time I decided to start using it. Reason, why MS did not support this procedure is not known to me, but what it can do, is way much better (faster and more simple) then cursor equivalent procedures. ...Show All
.NET Development A despert newbie needs help
I have an ASP (vbscript) page that accepts XML posts from an external web site. The XML they post is: <TOKEN> <TICKET GUID="This is the value I need to get"></TICKET> <TIMESTAMP>xxxxxxxxxxxx</TIMESTAMP> <TOKEN> How can I read the GUID value in ASP code Thanks. This XML is not well-formed, since TOKEN tags are not closed. When I replaced the last <TOKEN> with </TOKEN>, Derek's script worked just fine. ...Show All
Visual C# Multi Interface inheritance
Lets say you have two interfaces: interface IA: IComparable { int A {get; set;} } interface IB: IComparable { int B {get; set;} } and a class which implements both IA and IB class C: IA, IB { } class C now has to implement CompareTo, but the problem is that CompareTo should do different things if being used to compare this object to another IA, IB or classC. How do you implement the CompareTo function For instance lets say there is code like this: C c1 = new C(); C c2 = new C(); IA ia = c2; int comp1 = c1.CompareTo(ia); int comp2 = c1.CompareTo(c1); In this case, comp1 should equal 0 if c1.A == c2.A, and comp2 should equal 0 if both c1.A and c1.B are equal to c2.A and c2.B. Since you can only have one CompareTo method on class C how do ...Show All
Visual Studio Express Editions Help!! - Code doesn't update when I run debug
OK - This is my second time asking. No one has answered my last post. Yesterday - I created a program. While I was working on the code I occasional would run the program. I would then see some errors in the way I wanted the code to work and then make changes to the code. All the sudden – when doing the same thing as above – when running the code through debug I noticed that the changes in the code where not taking effect. I then tested my theory and found that I could even create errors or remove large chunks of code and the program would still run as if I didn’t make these changes. Can anyone please explain OK - I got a simple app to do it - I'll list it below: namespace WindowsApplic ...Show All
.NET Development Generating sample xml files
Hi, I have Visual Studio 2005, and I would like to know whether it contains a functionality equivalent to, say, XMLSPY functionality to generate sample xml files automatically from a given schema. Thanks a lot, Pancracio .Note also that the XML Editor in Visual Studio 2005 supports "dynamic snippets" where it expands all required elements and attributes when you hit the TAB key. For example, suppose you are creating a new VSTemplate document as follows: < VSTemplate xmlns = " http://schemas.microsoft.com/developer/vstemplate/2005 "| Then hit the TAB key and you will get the following snippet expanded from the schema for this namespace: < xml version = " 1.0 " encoding ...Show All
