Jughead1111's Q&A profile
Visual Studio Express Editions Still Problems Muting
i was givven this code a day or so ago to mute the computer .... i have tride and tride and tride but cannot get it to work Public Class Form2 Private Sub PictureBox1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click My .Computer.Keyboard.SendKeys(Keys.Volumemute) End Sub this is the link to the Orig post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=531900&SiteID=1&mode=1 I understand your reluctance but I don't know of a better way so it will be news to me. Seriously...if you don't find another solution try this one...it really only requires copying ;) ...Show All
Visual Studio This page cannot be displayed blah, blah, blah.
Why does Document Explorer bark up a lung when trying to display a page that it supposedly found in SQL BOL The search term is very complex: "sysobjects" in Technology = "TransactSQL" Having spent a little time now with the new system I gotta tell you, when looking for documentation I am NOT looking for an experience, I am looking for information specific to my question. In this case, Document Explorer successfully wastes my time by forcing me come here to find out why it doesn't do the most simple and mundane task I could request of it: Display content stored in the default location on my local harddrive. Even when it is successful it releases a torrent of information of negligible value and questionable appli ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why XNA requires C# Express, not the Studio version?
I'm new to XNA and I'm using VS2005. I just want to use XNA with VS2005 but it requires C# Express to be installed. That's a waste of disk space if I must install another version on my PC. I have two questions: Can I use XNA with VS2005 And if there is no other way, if I must install C# Express on my PC, will any conflict happens with the Studio version However, the download page for C# Express states the following. "Before installing, you must uninstall any previous Beta, CTP or Tech Preview versions of SQL Server 2005, Visual Studio 2005, and the .NET Framework 2.0." So, you're okay with a full version of them, but not with Beta, CTP or Tech Preview versions ...Show All
Visual Studio Unable to draw a connector when toolbox is floating
When a user uses a floating toolbox instead of a docked toolbox, the connectors won't work properly. The user is unable to draw a line between two shapes. Instead the first selected shape is dragged. When the toolbox is docked again, the connectors work just fine. We have created several designers and the all have the same issue. Is this a known bug Ronald Thanks, I will report bugs myself, next time. But I can't find the bug in the list. What is the Id of the bug Ronald ...Show All
Visual Studio Team System Multiple Problems in Same Class?
Hi, I have a rule where I want to return multiple Problems for the same class. Adding new Problem instances to the Problem collection is allowed, however only ONE problem is ever reported. For example, given the following rule: public override ProblemCollection Check( Class c) { Problems.Add( new Problem (GetResolution( "Problem 1" ))); Problems.Add( new Problem (GetResolution( "Problem 2" ))); Problems.Add( new Problem (GetResolution( "Problem 3" ))); return Problems; } The output is only ever "Problem 1" for each class. Is this a known issue Thanks, Duncan Dunca ...Show All
SQL Server Flat File into multiple SQL 2005 Tables.
Probably a stupid and regularly asked question but I can't seem to find an answer, so here goes, we have 16 .txt files, some with over 350 columns. That info from each individual file needs importing to multiple sql tables. need to look at sql table1 does record exist if not create new then add in data once its been transformed eg datetime from yyyymmdd into datetime values [managed to get this using derived column] for first 20 columns, otherwise do update for the 20 columns... then look at sql table2 and repeat for next n columns.... So I was wondering is it going to be better to write this as a dtsx package if so can you point me to an example or should I just write the code as part of a code behind page that scrapes t ...Show All
SQL Server Dynamic DSN in Report
I am creating a dynamic DSN in a report to pick which database to run a query against. I have a fairly simple expression, ="Data Source=MYSQLSERVER;Initial Catalog=ADV_" & Parameters!DBNum.Value When I try to preview the report, I get the following error An unexpected error occured while compling expressions. Native complier return value: '[BC32017] Comma, ')', or a valid expression continuation expected.'. I have also tried it without the parameter, ="Data Source=MYSQLSERVER;Initial Catalog=ADV_1" with the same result. When I use the exact same static DSN it works fine. Anyone have any idea what I might try to get it to work next R Update: It looks ...Show All
Windows Forms VB2005 Set focus to cell in new row in datagridview
Hello, How do I set the focus to a curtain cell in the NEW row in a datagridview Thanks in advance... If you want to focus on a cell desiredCell you can do the following: dataGridView1.CurrentCell = desiredCell; dataGridView1.BeginEdit(true); ...Show All
Visual Studio Team System TFPT unshelve sorting
Sorting the list of shelvesets in tfpt unshelve by date does not work correctly. It seems that the displayed date strings are sorted, not the date values. Thanks for reporting this. A bug has been filed. Ed http://blogs.msdn.com/edhintz ...Show All
Windows Forms Hum..
i'm using the Visual studio express 2005 I made a navigator... now i need to publish it to run in another machines and never works.. what i need to do and the others machines need to have the .NET Framework 2.0 if needs... have another way i'm starting now to work with the Visual studio... hum.. ok.. i need to make applications to run in another machines... all the machines uses one version of microsoft windos... what i need to do ...Show All
Visual C# WebBrowser hyperlink click events
I am using a webbrowser control in my C# application. I would like to know if there is any way to capture the URL of the hyperlink that I click. I need to suppress the default navigation of the browser and process the captured URL in my own way with some modification. Any input on this would be greatly appreciated. Thanks, pravi Hi, you could capture clicked url in the WebBrowser's navigate event and cancel the default navigation to the target Url, something like in the following code: private void webBrowser1_Navigating( object sender, WebBrowserNavigatingEventArgs e) { if (e.Url.AbsoluteUri == " http://www.yoursite.com ") { & ...Show All
Gadgets Difference between Gadgets and Desktop applications
Hi, Can anyone please list out the major differences between Gadgets in the sidebar and any Desktop applications. Regards, Santosh Kalkeri Desktop applications are likely to be far richer because you are not constrained by the size of the application (as opposed to the limited gadget size) and the technologies at your disposal are far greater (as opposed to browser-based technologies of a gadget). However, the flexibility of a gadget to dock to the side of a screen, automatically load at runtime, be non-intrusive, etc. all make gadgets really appropriate for several functions. For example, you could never build the richness of Office or iTunes in a gadget. On the other hand, I ...Show All
Visual FoxPro Imagelist control
I want to add the imagelist control to the treeview control(ocx) but I keep getting a message that I have to initialize the imagelist control first. How is this done The treeview works fine. Both ocx controls are dropped on the form but I have been consistently getting the error. Appreciate the help. Alex, Thanks for website. The example was good enough to get me finally working. I've already sent David a note but wanted to thank you too for sending me in the right direction. JohnL ...Show All
SQL Server Reporting on Active Directory
I belive it is possible to use active directory as a datasource for a SQL Report Services Report. Anyone know how I go about this geoff Hi, I think that is a C# example. (which is fine I suppose, but it doesn't help me. ) Does anyone know of or have any information on how to create a report in Reporting Services 2005 that accesses Active Directory If I try the "Microsoft OLE DB Prodiver for Microsoft Directory Services" I can get a connection. That is, the "Test Connection" works, but then what I can't seem to create a dataset for the report.. I don't even know if "Microsoft directory Services" is what I'm supposed to connect. I need to get a list of use ...Show All
SQL Server pivot query : access to msSql
Hi; i'm trying to get this pivot query working in msSql: TRANSFORM Sum(tblAssortiment.Aantal) AS SumOfAantal SELECT tblAssortiment.Assortiment FROM tblAssortiment WHERE (((tblAssortiment.Artikel)= )) GROUP BY tblAssortiment.Assortiment PIVOT tblAssortiment.Maat; Any ideas Thank you! It's difficult to determine what you are trying to do without the full schema of your database or more information, but you should start here to find out more about the PIVOT statement in SQL Server: http://msdn2.microsoft.com/en-us/library/ms177410.aspx ...Show All
