Ryan Hawkins's Q&A profile
Windows Search Technologies Outlook 2007 - WDS 3.0
Hello, I installed the 2007 beta and also enabled the WDS search. But i'm unable to check the folders i want to index in the "search options". The title "Index messages in these data files" is gray. Any suggestions Greets, Peter I am also trying to uninstall WDS 3.0, but I don't see it in the add/remove program list either. i do have "Show Updates" checked so it isn't because of that either. Another program, CCleaner, lists it in it's uninstall programs section, but it can't locate the uninstaller to do the uninstall. I really want to uninstall it, so is there any other way to do it ...Show All
Visual Studio How to add a custom context menu to my hierarchy windows?
I build my own hierarchy tool window with my own hierarchy and a few different kinds of nodes. Now I want to add a context menu to my hierarchyitems. For different kind of nodes i want to add different menus, but i don't even know how to add a context menu. Have i to use the ctc file But where (and how) can i add commands for my own windows And how do I differ between different kinds of nodes Thanks Benjamin Hi Benjamin, Your implementation of IVsUIHierarchy::ExecCommand should handle the UIHWCMDID_RightClick comand. The guidCmdGroup is defined by the VSConstants.GUID_VsUIHierarchyWindowCmds guid (defined in Microsoft.VisualStudio.Shell.dll). The following is a code snippet from an old package I w ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Code4Fun Framework Timer compile issue
Hi, I am attempting to make use of the QueryPerformanceCounter timer, as detailed in the Coding4FunTutorial. After following the steps, add a new folder, copy the dxmutmisc.cs file to the project. I get 133 errors most saying "The type or namespace name DirectX does not exist in the namespace Microsoft( are you missing an assembly reference )" ANy direction would be appreciated. Thanks Jeff Hi Niko, I am down to 1 error, the type or namespace name 'Framework' could not be found. I fixed the others by choosing the Allow unsafe code option. I am thinking I need to add another file to my project from the DirectX common area. Do you know where the Framework namespace might be ...Show All
Visual Basic makeing background form
well i make a program that get mouse X and Y each time the mouse moves on the form and write it to file ; i want to make that program " in the background" that still get X and Y but user wont see it he can still work and program still record ; how can i make thats how can i make it work Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseMove msgbox(e.X & " " & e.Y) 'thats doesnt work when the from is "Me.Hide()" End Sub Edit : well i will try Tnx oh well thats work both way work good ! tnx another lil qustion : can i convert Bitamp to String and convert it back ...Show All
Windows Forms How to deal with file system permissions when recursing file system
I am working on a module for an app the recurses the file system. As the program recurses the "C:\" drive I get the follow exception System.UnauthorizedAccessException was caught Message="Access to the path 'C:\System Volume Information' is denied." What is the correct way to deal with this exception and continue to recurse the drive thanks, Luis Bear with me. I'm fairly new to vb. Here is what I tried Try ''Directory recursion loop here Catch ex as UnauthorizedAccessException End Try While debugging I saw the exception throw for the "System Volume Information" directory. However, instead of continuing to loop through the rest of the directories the subroutine stopped processing. An ...Show All
Windows Forms HyperLink Column in GridView
I've made the first column of my gridView as Hyperlink Column. The problem is that whenever i click the hyperlink it redirects to a page with the same query string. I need the query strings to be different for each Hyperlink(Eg: I need the id of the clicked row). This is the code i've written Dim bc As BoundField con = New SqlConnection( "server=levergent4;uid=sa;database=octadata" ) con.Open() Dim da As SqlDataAdapter da = New SqlDataAdapter( "select RoleId,RoleName,RoleDescription from Levit_Role" , con) ds = New DataSet da.Fill(ds, "Levit_Role" ) GridView1.DataSource = ds Dim hlb As HyperLinkField hlb = New HyperL ...Show All
Windows Forms beep generates no sound
the Beep method generates no sound, the volume is on i checked Remco ahmedilyas wrote: Is there a sound attached to (im unsure but maybe) the notify sound event in Windows I can not check because of the configiration policy here @ work remco ...Show All
Visual Basic Connecting Forms
Hi Every body I am biginner in VB.NET 2003!! I have a project from my college to design. I have a form with menues controle, I want to connect other form to each menu items, when ever I click on one of them other form will appear, in order to save, Edit or any thing else. And also tell me where I have to put other form I have, in order to be accessed when I click the menue item, in the same folder where menue folerm is located Example when you click on Help menu in MS word it display other option once you click one of the item it bring you a new windows (form). Thanks in advance for your help. Add a control to the main form for the menu's (in 2005 this is a menustrip, but I seem to recall a similar control in 2003) ...Show All
.NET Development Table Adapter - stop Auto generated files
I am using a Table Adapter in my Data access layer, built as separate Project. I need the adapter to use the Connection string in the Web.config file of the solution where the DAL assembly will be used. How do I prevent the Settings.settings and Setting.Designer.cs files from being generated when I compile the DAL. If I include the DAL project in my Main solution then will I be able to specify the Web.config connection rather than the connection from the Settings.Designer.cs file! I seem to be confused between using the Settings.Designer.cs and the Web .Config for Table adapters. Where can I find a good resource for this . -Jawahar FooTableAdapter foo = new FooTableAdapter(); foo.Connection = ...Show All
Visual Studio 2008 (Pre-release) How to maintain data consistency?
Our server application performs transactional table updates to maintain data consistency. Synchronization framework, however, enumerates inserts, updates and deletes in separate queries, so it is possible for server application to perform several updates inbetween, which leads to inconsistent data on the client (to simulate this you can insert a delay into SyncProgress event handler). Is there a way to command framework to lock tables during synchronization Good News! SQL Server 2005 SP2, shipped yesterday, has a simple fix for the consistency issue. Check out all the details here . Thanks! ...Show All
SQL Server Foreign Key NOT referencing PK
This book 'MS SQL Server 2000 Bible' says the following: 'The foreign key can reference primary keys, unique constraints, or unique indexes of any table' I've never heard of this before, I thought that the FK always established referential integrity by referencing the PK in the parent table. Does anyone have a further explanation of this thx, Kat Thanks Kenneth... It makes sense, I've just never seen a foreign key reference anything but the primary key to enforce RI. I guess it is all in the design, and hopefully in the documentation! Kat ...Show All
Visual FoxPro Caps lock ON when application activate.
Can I trap the 'activate' of my app I want to turn on caps lock every time the user selects the VFP application. I don't want to do this at the start of the app because the user may minimize the app and then get back to it. Thx. The original application (And also the VFP converted one) Assumes that all DATA is entered in upper case. Searching data when the data could be entered in Caps, nocaps or any cOmBinaTion is difficult. And yes, I know I can make sure everything entered is converted to caps, but its much easier to just let the user go into caps lock. Again: My problem is that the user can minimize the VFP app, go check his Email, turn caps lock off, and then come back to the applica ...Show All
Software Development for Windows Vista Problems printing Workflows from Workflow Designer.
Vihang, I have read your article at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/WFDsgnRehst.asp I am having a problem printing a workflow. Have you tried using the Print menu and actually printed successfully the workflow diagram (or any part of it) I am able to print from other applications. I get the PrintDialog box and click ok, but nothing gets sent to my print queue. Any ideas Sincerely, John Portnov Vihang, There is nothing wrong with the code. The code is just not finished. I have updated the function below to include the Print method call. ---------------------------------------------- private void PrintMenuItem_Click( object sender, EventArgs e) { ...Show All
Smart Device Development Automaticly deploy cabfiles
Hello, I've developped a program with visual studio 2005 for pocket pc. When the battery is empty the pocket pc has to do a cold boot. I place the CAB files in a directory that installs the cab after a cold boot. However I always get the message to reIinstall the file. For other files like sql mobile I don't get the confirmation to overwrite. How can I made it so that a cold boot is done and the CF 2.0 is automaticly installed Thanks Sounds like maybe the cold boot isn't really a cold boot. With my Pocket PC 2003 devices a cold boot will blow away everything on the device accept for items stored in non-volatile memory which on my devices this is a folder called IPSM. This is a great feature in the e ...Show All
Visual C# Does 'Edit & Continue' allow editing code while the app is running?
Does 'Edit & Continue' allow editing code while the app is running Yes, but the changes you make should not contain any syntax error to continue with execution (code changes should compile). Note: you have to pause (Debug | Break All, Breakpoint, ...) the execution to make your changes through your VS IDE. Andrej ...Show All
