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

Software Development Network >> Jan Gossen's Q&A profile

Jan Gossen

Member List

pat_seo
VinceExtense
rodniko
hazz
Pockey
Greg Christensen
Zane M
Terry Downing
Doddsy
JimmyT7360
Vaish
Andy Ho
TImBur
Cheiman
Andrea Gramm
roadresident
IGiberson
flyte
RussP
Seefer
Only Title

Jan Gossen's Q&A profile

  • Gadgets Dll inside gadget

    hi every body how can i use a dll inside the gadget code and if it is required to regsiter the dll please any one know answer reply thanks Fathi S. Elashery Firstly, you need to package the DLL inside the Gadget, then you need to register it manually during the Gadget startup to HKCU. If you can, it's also good practice to remove it once you've finished with it so you don't leave rogue registry entries. Unfortunately, Gadgets don't have a "close" or "unload" event, so this isn't always possible. If you have a look at either my WMP or Asteroids Gadgets, you'll see how this is done. Here's the core of it: var gadgetPath = System.Gadget.path; var oShell = new ActiveXObject("WScript.Shell"); RegisterDSXLib(); var DSX ...Show All

  • SQL Server Server Broker Contract talking to Multiple Computers

    Hello, I solved the previous issue I had and now need to find out how to make it so I have Service Broker running on one machine and the services running on another machine. I mean you can set a connection string to post a message to the service broker but then it will need to respond and the connection string in the method called does not allow you to put a server in the connection string. The other issue is because the stored procedure calls the method in your code based on a namespace and then a method but does not specify a server. I am sure a way exists but am not familiar with it. This is the last piece of the architecture I need to work out before I finish designing the system. Thanks, Scott Allison... Hi Scott, If yo ...Show All

  • Visual Studio 2008 (Pre-release) can i superimpose WPF 3D into a video stream

    i could previously embed Direct3D into a DirectShow video stream. is WPF going to support something similar i know that you can put video into a WPF 3D world, so i could make an application that has both ... but i really want to do this in a video stream and not an app. Thanks, casey No, we don't provide a way to access the underlying DirectShow implementation. In fact, if you're running on Vista, it might not even be DirectShow running underneath. We are investigating ways that we could support lower level access such as this in a future release. This will not be supported in .NET Framework 3.0. ...Show All

  • Visual Basic Problems with streamread

    I discovered a really great problem when using streamread function in visual.... The special characters, such as a, e, i, o, u, €,.. etc are not even readed from the file i try to read from... so, a line like this: I want to be a great programmer is transformed to this: I want t be great programmer Does anybody know why this happens and also if there is some other way to read and write from simple text files that dont reperesent this problem Thanks Use the StreamReader(String, Encoding) constructor. For example: srInput = New StreamReader("C:\test.txt", System.Text.Encoding.UTF8) ...Show All

  • Visual C# Printer.PaperSource

    Friends, I am trying to print using the "Multi Purpose" tray of my laser printer. The PrintDialog doesn't "remember" that I have selected it and always selects the bottom tray (using C# Express 2005). How can I programatically set the desired paper tray of my printer at run time I have attempted to set the Printer.PaperSource but get a "it's a read-only" message. Thanks, Sir, Thank you for your reply. I am temporarily unable to address my original problem. I am using MS Small Business Accounting and with the latest SP, I had to uninstall .NET 2.0 as MS SBA is not compatible with it (MS SBA won't print invoices)! Until they come out with a "fix" to the "fix" I can't use C# Express 2005. Best Regards, ...Show All

  • Visual C# Unable to change the cursor position using mouse in the Word document

    I have developed a shared addin in C# .net 2003 using .net framework 1.1 When I installed this addin somehow my mouse stops working only in the word document area. For a word document I can click on File menu or any other commandbar control but I am not able to move my cursor in the document area using mouse. Whereas I can move the cursor using keyboard. If anybody is aware of this problem then please help me. Thanks in advance. ...Show All

  • SQL Server Accessing password_hash by users in SQL Server 2005

    In SQL Server 2000 we had a view that would show the user credentials and the password hash. The reason we need this is that we use SQL Server authentication on the database. To test users, we have a login with little access, and it should be able to see the view and compare the password supplied against what is in the database, and then let the code handle a graceful exit if the password is invalid. I am trying to do this with SQL Server 2005, and I am running into trouble. I am trying to do this with a function, since there I can set the EXECUTE AS clause (in theory) and leverage the privlidges of a specific user in the database. Here is an example function: CREATE FUNCTION check_acct.fn_allusers (@test int) RETURNS @users table ( ...Show All

  • SharePoint Products and Technologies Trouble with Content Management Server (MCMS) Migration Profile

    Hi, all. We're trying to use the Content Management Server Migration in SharePoint 2007. We have successfully created a (copy of a production) CMS installation on our test server, running on a VMWare Windows 2003 Instance. We set up a new Migration Profile in SharePoint Central Administration, and then run it. But after an hour or so, it reports that is has failed. The last error messages in the log are: 1/30/2007 2:25 PM Import error /Norsk/Helse miljo og sikkerhet/Tilsyn og raadgivning/Samtykker/Pages/7_samtykke_leteboring_6507_11-8.aspx 1/30/2007 2:25 PM Import error 1/30/2007 2:25 PM Exception The page that it references in the first line above, is available ...Show All

  • SharePoint Products and Technologies Sharepoint Chat

    Since I'm not having much luck through the forums would any kind soul be willing to aim chat about WSS 3.0 Thanks There's tons of stuff on msdn/technet/microsoft.com/google/blogs if you just search for it. Here's a good starting point: http://microsoft.com/sharepoint   Or if you really want one-on-one time I don't mind setting up a web meeting + phone call to tell/show you everything I know for a small fee. =) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Beta 2 announced (date 'in a couple of weeks')

    http://blogs.msdn.com/xna/archive/2006/10/23/announcing-xna-game-studio-express-beta-2.aspx Last week they said 'in a couple of weeks'. Today at Seattle code camp they did not commit any further to a date but said 'keep your eye on the XNA dev center'. So those who know are not talking, and the rest of us are just guessing. ...Show All

  • .NET Development SQLDataSource update using parameters not working

    I'm passing a parameter to a stored procedure stored on my sqlserver, or trying to atleast. And then firing off the update command that contains that parameter from a button. But it's not changing my data on my server when I do so. I'm filling a dropdown list from a stored procedure and I have a little loop run another sp that grabs what the selected value should be in the dropdown list when the page loads/refreshes. All this works fine, just not sp that should update my data when I hit the submit button. It's supposed to update one of my tables to whatever the selected value is from my drop down list. But it doesn't even change anything. It just refreshes the page and goes back to the original value for my drop down list. Just to ...Show All

  • Visual Studio 2008 (Pre-release) An attempt was made to access a socket in a way forbidden by its access permissions

    After deploy my WCF service on IIS, and deploy the client app to some clients, all works fine. Until the clients began to install Windows Vista (RTM Business Edition), those clients reports that app failed. The exception alway was "SocketException An attempt was made to access a socket in a way forbidden by its access permissions" After search in all configuration, over permissions on IIS host, permission on Windows Vista. I found that problem was the new service on Windows Vista, Windows Live OneCare, specifically the built-in firewall. Firewall block any request in client, throwing SocketException. This was resolved in the following way: 1. Opening the program Windows Live OneCare 2. Click Change Configuration ...Show All

  • Visual C# Get System Information

    Hello Everyone, Is there any way to get the System information on the applications installed, as like Microsoft Office or any other application from the about box you can pull all the system information... Can be of local machine or a remote computer on a network.... How can I do that using C#... Thanks, Harsimrat Hi , Here is my code, ManagementScope oMs = new ManagementScope (); ObjectQuery oQuery = new System.Management. ObjectQuery ( "select * from Win32_Product" ); ManagementObjectSearcher oSearcher = new ManagementObjectSearcher (oMs, oQuery); ManagementObjectCollection oReturnCollection = oSearcher.Get(); try { for ...Show All

  • Software Development for Windows Vista Task Pages integrated within the Control Panel

    Hi, I am developing a control panel applet specifically for Windows Vista. I need this applet tightly integrated within the UI of the control panel, such that when the applet runs, it inherits the area, look and feel of the control panel. It will have custom pages that live within the area of the control panel UI when you navigate into the applet. All of this is in line with the Windows Vista User Experience Guidlines . My question is: How do I do all of these things discussed above and in the User Experience Guidelines It is clear that the intent is for ISVs to be able to accomplish these things based on their appearance in the guidelines, but I have not found any documentation regarding the actual implementation of such things. Can you ...Show All

  • Visual C++ Template Selection Visual C++ 2005

    Keyword C++ Template Matching Selection I thought in many circumstances the more specialized template is chosen. So the actual template selection by the great compiler seems contrary to my expectation. This concerns overloading the operator = via templates in a C++ class. Desired: To have member template methods (operator =) called in certain object types thus producing other or same objects. Expression Templates. I want to manually write these templates for the educational value. (template frenzy).( I dont want use boost::lamda ... just yet). Other metrics being equal .. I would like to use a lesser number of member functions. Actual: I get template matching that is contrary to my intention. (I dont understand the actual template ...Show All

©2008 Software Development Network