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

Software Development Network >> NetPochi's Q&A profile

NetPochi

Member List

boondoggle
Broken
Álvaro Peñarrubia
vahdam_mn
stratos13
Paul Gielens
lufa
Stokh
Xcel
jkirk
Bharat Gadhia
Chidu
Yorik
rottengeek
Jon Braganza
Nightmare_BE
Jasens
PaulMendoza
Jakein2006
Sami Karaeen
Only Title

NetPochi's Q&A profile

  • Visual Studio Express Editions VISTA and the SP1

    Everytime I open WebDeveloper, VISTA reports that it requires SP1 update. I installed it twice. The config/programs section acknowledges its installation. What do I have to do to get VISTA to accept that it is updated Are you sure it doesn't say Visual Studio 2005 SP1 requires an update for Windows Vista There are some known issues with VS and Vista and there is an update to resolve that but it is still in beta. You can try it but in general I have not had any problems just using it as it is. I can choose continue when I get the warning VS needs an update and I have not had any problems using it. You can read more about the issues with VS (including express editions) and Vista here http://msdn2 ...Show All

  • Visual Studio Express Editions Midi making C# Program, How?

    Hey I was woundering how can you make a c# program be a midi maker I need to know everything, from writing the music to saving it as a midi file. Hi! Another MIDI related interesting article even if it develops a particular subject Steganography V - Hiding Messages in MIDI Songs http://www.codeproject.com/csharp/steganodotnet5.asp Hope that helps ...Show All

  • Visual C# How to capture screen with DirectX?

    I'm trying to build a program which record desktop screen change. My program must capture screen at least 10 times per second. I'm currently using GDI to capture screen, but it take ~50% CPU usage. I think that capture screen with DirectX is better solution, but I don't know how to do this. Please help me Is there another way to record screen Nguyen Duy Linh wrote: TightVNC use minor driver (http://www.demoforge.com/dfmirage.htm) to capture the screen. I installed DemoForge Video Hook Driver, but I don't know to capture the screen with this driver. Please help me. You can study TightVNC source code (available at www.tightvnc.org ) or the DFMirage Driver SDK (ht tp://www.demoforge.com/sdk/dfmirage-sdk-1.2.74.0.zip ). The ...Show All

  • Visual Basic Using String.Contains with case-insensitive arguments.

    Is there any way to use Dim Str as String = "UPPERlower" Str.Contains("UpperLower") and have it return true The following will return true Option Compare Text Public Class Form1 Private Sub StartButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Str As String = "UPPERlower" Dim b As Boolean = InStr(Str, "UpperLower") End Sub End Class ...Show All

  • Smart Device Development CabWiz Info

    This is just a quick post to hopefully save someone some of the pain and agony that I have suffered over the last 2 days trying to get a CAB built for a new PocketPC app. If CabWiz reports an error similar to: Error: CAB file "D:\CabFile.CAB" could not be created one of the first things that you should check is that you do NOT have 8.3 file naming turned off. If registry entry HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation is set to 1, then CabWiz will either not work or will only work intermittently (depending on whether you are working in a directory that has short names or not). If it is set to 1, change it to 0 and then reboot. You will also need to recreate all existing directories that do not ...Show All

  • Windows Forms how to remove focus from a button

    i designed a cool button giving a 3d effect when the mouse enters or leaves the buttons but when the button is clicked, it is focused and a line appears around the border of the button. how do i de-focus the button after it is clicked to remove the focus. the flatstyle property is set to Flat. thanks for reading! If you don't want your button show the focus rectangle, create your own button control, which would derive from Button class, and override ShowFocusCues: public class CustomButton : Button {     protected override bool ShowFocusCues     {         get { return false ;}     } } Andrej ...Show All

  • .NET Development Problem automating file download within login site

    Hi all, Ive got the task of doing some data mining, i have a url with a .jsp file that when given an id (range 1000 to 30000) it will give me a .vcf file to download. The only problem is that i need to login first before the files can be accessed. I've gone down the road of using the webclient in System.Net and then simply calling the DownloadFile method. However no suprise i end up downloading a webpage with a "you have not logged in or your session has expired" screen. So i pretty sure i need to add the credentials to the WebClient instance and/or put the information in the headers but im just not sure which also i've got a feeling it may not be your standard run of the mill login system, is there anyway of telling should i be ...Show All

  • Visual Studio 2008 (Pre-release) Close the Window in UserControl

    I put a usercontrol in a window. when I click a button in the usercontrol, I want to close the window and show another window. can this be implemented Thanks Do your design constraints prohibit the UserControl from having a reference to the containing Window or the Window knowing about the UserControl If the user control can know about the Window, then just expose a property on the control which the Window sets to itself (i.e. the Window gives the control a refernce to itself). Then the control can just call Close on the Window reference. Otherwise, perhaps you might expose an event on the user control called CloseWindowRequested. The Window would hook that event and close itself when the event fires. If neither of tho ...Show All

  • .NET Development XSLT sort problem

    I have an XML file containing TV listings that I am trying to process with XSLT to produce a customized report of my favorite programs. The XML is much more sophisticated than the textbook examples and the examples I've found on the web. It contains a default namespace and is structured like a relational database. I am having trouble sorting the listings by their air date. To get the air date I must first follow the xtvd/program/program path to get the id attribute, then match that value to the program attribute in the xtvd/schedules/schedule path to get the air date. (There may be more than one air date for a single program.) The sort I coded sorts the air dates just fine for the same program that airs on more than one date, but w ...Show All

  • Visual Basic How to add user to builtin security group from asp by ldap?

    I have used this code (modified) to add users to groups within their OU. On Error Resume Next If Request.Form("Submit") <> "" Then strGroupPath = "LDAP://" & Request.Form("group") _ & ",cn=Users,dc=mycorp,dc=com" strUserPath = "LDAP://" & Request.Form("user") _ & ",cn=Users,dc=mycorp,dc=com" Set objNamespace = GetObject("LDAP: ") Err.Clear Set objGroup = objNamespace.OpenDSObject(strGroupPath, _ CStr(Request.Form("Name")), _ CStr(Request.Form("Password")),0) If Err=0 Then If objGroup.IsMember(strUserPath) Then Response.Write "User is already a member of the group" Else Err ...Show All

  • Windows Forms hold a key...

    is there a way to "codely" press and hold down a key for x amount of seconds Apparently it is a VERY special key...cuz VB doesn't even talk about it. I tried your suggestion of {fn} but I get an error that it isn't a valid key....plus I need to have a way to combine Fn with F8 to get the desired effect...the syntax simply doesn't allow something like {fn}...needs a + or % for example. I wonder if there is another way to set the LCD/LCD + Monitor/Monitor sequence rather than the Fn+F8 ...Show All

  • SQL Server Create the package on the server, and execute through sql server agent

    Hi, Some of you guys seem to be gurus with the new Integration Services technology, so I hope someone can lend me some advice, as I haven't worked much with integration before. Ok, here we go. What I want to do is select some data from my database and export the result to a flat file (really a .csv file with values delimited by semicolons). Sounds like a simple thing to do Well, I'm sure it is when you know how to do it :) I know I could manage the same thing by writing a C# class that creates that .csv file, but the decision has been made to use Integration Services for these kind of operations. I created an SSIS project in Business Intelligence Development Studio, and created a package (I defined the task flow etc.). By choosing ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Unified Input

    It's my biggest gripe about XNA and directx, there's no unified input...   I don't have a 360 controller hooked to my pc, not even sure if that is possible... is it Anyhow, since i took the whole unified input idea from Lynn T Harrison's book, i'll share it here in hopes that people can email me suggestions and feedback. The enum translations aren't finished yet and the InputManager is a singleton (i'm on a singleton kick lately don't know why), and obviously the gamepad implementation isn't finished.  Hopefully you can sortof see where i was headed with the 360 implementation...   wel here it is, i guess email me at jhered at yahoo com if you have suggestions.     #region USIN ...Show All

  • Windows Forms Why does the ClickOnce 'Install' button generate an xml page instead of starting download?

    Hello, I just published my application for ClickOnce deployment to my web site. When I click on the Install button on the publish\publish.htm page on my website, the browser returns the contents of an xml file and does not start the download. Does anyone know what might be causing this Any help or suggestions would be greatly appreciated. Thanks! Jason For now I have found that it happens but not on all IEs 6, on part of them it do works well, I am still loking what the exact reason for that behaviour. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is it realistic to create one's own engine?

    I'm not new to programming, but I'm new to game programming and C#. I'm wondering to what extent it's realistic for someone to make their own 3D (or for that matter 2D) game engine. The two projects I have in mind for myself are a turn-based 2D war/strategy game, and a 3D adventure game in the manner of "Dreamfall". On the 2D side, I feel confident I could come up with a 2D interface on my own. I haven't done a lot here yet, but I did manage to whip up a little 2D hockey game without peeking at Bill Reiss's excellent 3D airhockey tutorial at http://xna101.spaces.live.com/ . I've even given my computer hockey opponent a very primitive AI. OK, my collision detection and physics aren't great, but I'm not sure how much I'll need either of ...Show All

©2008 Software Development Network