Eswans2000's Q&A profile
Software Development for Windows Vista Why my video was play automated in the 2nd monitor?
I have two monitors, the 1st one is a VGA interface, and the 2nd one is a DVI interface. I use DirectX 9 to capture and play video. I set up a DOC/VIEW structure, formView MFC-based program. I want the video display on the front form, and it does in the 1st monitor. However, it also automated play in the 2nd monitor with full screen mode. What's problem with me coule help me ...Show All
Visual Studio Reportviewer HTTP handler error when HTTP handler is specified in web.config
Hi, I got VS 2005 and reportviewer web control to work on my local box. However when I deployed the web appl to the company web server(which has only .NET 2.0 installed and no VS2005), I had to build a bin directory to keep the 3 reportviewer DLLs and now I got stuck with the HTTP handler error( even though my web.config has that Http Handler). Any light you can throw in will be much appreciated. ------------------------------------------------------------------------------------- Error message: The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHand ...Show All
.NET Development Problem with file download
Hi, I have two two files startpage.htm and login.aspx. When a button is clicked from the startpage.htm it goes to the login page, after validating the username and password it comes back to the startpage.htm. Now when the user clicks in the same button again it has to open a dialog box to save the file, but it doesn't and it goes to the login page again. If the user clicks another file after logging in then it works properly. The file which was clicked at first can't be downloaded if the user clicks it again, also any other link which points to the same file name again can't be downloaded. This happens only with internet explorer, but with mozilla firefox it works properly. Could anyone provide me a solution for this problem I have giv ...Show All
Software Development for Windows Vista Vista not appending primary DNS suffix beyond one level deep, Anyone Seen this ?
This is new to Vista as XP works fine. When you simply set append Primary DNS suffix, the system should always append it, such that is your domain is mydomain.com, and you look up www, it should append so the FQDN=www.mydomian.com That seems to work fine, but if you do one more deep, such as www.test , you would expect as in XP and in DNS in general to append the primary suffix, such that the FQDN = www.test.mydomain.com Vista does not do this, and this is a very major problem for our company as we have many DNS zones and normally the user does not need to append the domain he/she is in and it should recursive lookup. It is not. We are not going to GPO 100 domain suffixes to each workstation just so they don’t have to type the & ...Show All
Visual Studio Tools for Office Include security policy in setup project
I have created an Outlook addin in VSTO2005SE. I have created a setup project, downloaded dotnetnx, office2003pia, vstor and created a cmd-file to add strong name security policy. How can I include the dotnetfx, pia:s and vsto runtime in the setup project and make sure that the security policy is run when the install is run Please refer to these articles for full information on how to build setup projects for VSTO solutions: http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerOverview.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerWalkthrough.asp ...Show All
Windows Forms "the path is not of a legal form" error
Hi, I made a control, and when I try to add it to a form, it shows me the error "the path is not of a legal form". How can I solve it Thanks. Beware that the code in your control may run while the form designer is using it. For example, the Paint event will run as will your constructors. Does your control do anything with file paths Suppress code execution while the designer is using it by checking the DesignMode property. ...Show All
Visual Studio Tools for Office How to rectreive a display name from the Recipient object.
Hi, I am trying to retreive the the display name of an email address using the Microsoft.Office.Interop.Outlook.Recipient class For example the display name in the email address David Ghikas [david.ghikas@cybergrants.com] w ould be: David Ghikas. I have looked at the Recipient.Name property but it returns the emails address ( david.ghikas@cybergrants.com ). Any ideas Thanks in advance, Dave Hi Dave, given this isn't a VSTO specific question and more of a question on the Outlook OM, you'll have a better chance getting it answered in the following Outlook newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=U ...Show All
Visual C# Problem with keybd_event()
Hello, I am using keybd_event to simulate keyboard in applications. Function works perfect in notepad, calc, all windows, etc. but in some directx program it is getting error. On some computers it can type keys but on some others it can not. I have no idea what to do to fixt it or what is missing on those computers. Anyone has ever met this problem or know how to fix it please Btw that's a part of source [DllImport("user32.dll")] private static extern void keybd_event( byte bVk, byte bScan, uint dwFlags, IntPtr dwExtraInfo ); private void keybd_press(byte bVk) { keybd_event(bVk, 0, 0, new System.IntPtr()); keybd_event(bVk, 0, KEYEVENTF_KEYUP, new System.IntPtr()); } ...Show All
Windows Forms How can code short cut for CTRL+Enter in VS 2003.
I am using Visual Studio 2003 and wanted to provide a menu short cut key as CTRL+ENTER key. I am not seeing this key by default at System.Windows.Forms.Shortcut. How can assign CTRL+ENTER key in menuitem Thanks in advance. Dave, If you open the ShortCutKeys, and Choose CTRL and then a list of options are coming in which "Enter" key is not there. I am seeing this VS2003 as well as in VS2005. Is there any way to introduce "Enter" into this list or can I someway customize it Thanks, ...Show All
Visual Basic Executables as Project References.
I have inherited a distributed application that has 4 servers and one client. 3 of the servers are also clients to one of the servers. The clients have the Server Executables added in the client's "Project Referrence". In particular, the client app has added a Reference to the executable of one the servers. The client app makes use of one of the classes declared in the Server's project. Moreover, this class has a method to add messages to a collection running on the server. Everytime I call this method from the client app a message is added to the collection that runs in the server. I don't understand why this is happening. Question: By using this Server's Class, does it mean that the client app is communicating to the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vista 5728-16387
Warning The Direct3D 10 version that is included with Vista 5728-16387 is not in sync with the August SDK. The runtime is not able to load the reference rasterizer because there is a version conflict. For Direct3D 10 development stay with Vista RC1 5600. Is the directX sdk currently included in the vista build Just wondering ... if current hardware doesnt support any hardware rendering for dx10, where and how is directX 10 used in vista ...Show All
.NET Development Application using .NET framework NOT starting?
Hello, I downloaded a software programme (exertrack) from www.exertrack.com ; it worked properly before. I updated windows XP, scanned for malitious software. Now the application does not want to start. I recieve the message box with heading "BaseControllerUI" and message "Microsoft.ApplicationBlocks.Cache.CacheManager has encountered an exception, software will not start". I am no PC expert, but would appreciate help form someone that knows what to do, or what is wrong. Regards, Len Hrmm... that doesn't sound like a good error message. I'd contact the vendor of the software. Unfortunately you probably won't have much luck finding an answer here, as these boards are intended for ...Show All
SQL Server Index not replicated to the device
Hi, I have a table published on the SQL2K Merger Replication publisher. But when I add an index to the table it's not replicated to the device. I have checked the snapshot folder and the newly added index is already in the .dri file. Any ideas Cheers, Justin Justin, Replication supports a wide range of schema changes to published objects. When you make those schema changes on the appropriate published object at a Microsoft SQL Server Publisher, that change is propagated by default to all SQL Server Subscribers. However, Explicitly adding, dropping, or altering indexes is not supported. That is why you see the index is not replicated to the existing subscriber but it works with new subscribers. You don't need to drop an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Graphics and xnb files
I'm just trying this thing out, and being frustrated by what seems like a nonsensical error. I'm trying one of the tutorials. It says to create a sprite. I add an image file to my project. I use the asset name in the code in the LoadGraphics Content method: myTexture = content.Load<Texture2D>(@"my asset name"); It gives me this (inner) exception: "Could not find file 'C:\\projects\\MyFirstXNAProject\\MyFirstXNAProject\\bin\\x86\\Debug\\my asset name.xnb'.":"C:\\projects\\MyFirstXNAProject\\MyFirstXNAProject\\bin\\x86\\Debug\\my asset name.xnb"} System.Exception {System.IO.FileNotFoundException} Is there some step I'm missing The tutorial says to add this code, then build and run. I did search, but I cam ...Show All
Visual Studio Express Editions how to add new record to an ACCESS Database???
i have this ff codes: customerTableAdapter.Insert(textBox5.Text, textBox6.Text, textBox9.Text, textBox8.Text, textBox7.Text); customerTableAdapter.Fill(aRIESdbDataSet.Customer); customerTableAdapter.Update(aRIESdbDataSet.Customer); dataGridView1.Refresh(); the new record was added and can be viewed to my dataGridView1 component but not to my database.. can someone help me with this .. thanks! Hi, To add/update the data DB, you'd look at the following tutorial. Here is how to use TableAdapter tutorial: http://msdn2.microsoft.com/en-us/library/bz9tthwx(VS.80).aspx Which including updating and adding new row in DB Thanks. ...Show All
