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

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

Daikoku

Member List

polymorphicx
qpsk
great1
edukulla
Scottie S
r3zonance
ckcampbell
bryanedds
Deepesh Verma
mighty_man
TruePsion
Furqan Farooqui
Mark Macumber
Michael Schreuder
gafrank
ykgreene
vtortola
JeffKoski
Chaitanya15
Harry Hunt
Only Title

Daikoku's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Collision detection - Howto

    Hi all, I'm trying to make two objects collide in GSE, actually in a Pong game - between the bat and the ball. I have motion for both, but no collision, the ball just leaves the stage so to speak. Any help would be appreciated. I have looked in the Help, but to no avail. What about the "ball", do the built in bounding boxes work for other objects, can you put a "box" around a triangle or would it still be a box shape thus not giving you accurate results ...Show All

  • Visual C# Copy and paste data between 2 notepads in C#

    Hi All, I need to open 2 notepads programatically. If I copy data from one notepad, and try to paste it in the next notepad, it should not get pasted. Can anyone suggest me a solution for carrying out the above one. This sounds very tricky. The only thing I can think of is writing a hook with the win32 API and intercept the WM_PASTE message to the second notepad. This is a lot of work and needs some good understanding of the internals of windows. Why are you trying to accomplish this ...Show All

  • Visual Basic Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document

    There was a similar question posed on the C++ forum back in February to which I responded yesterday, but unfortunately, did not get a response. I am therefore putting this question in the VB forum. I have a VB 2005 project which is actually an add-in to Outlook 2003, which was I was able to debug fine until earlier this week. Now I cannot debug it at all - the message in the subject is displayed when I hover the mouse over the breakpoint which shows a yellow icon in place. Can anyone here tell me what I should do to correct this I too have a similar problem, but I do not see any way to specify a "Debug" build. My project is a class library and I can only Build it. If I hit F5 it forces the ...Show All

  • .NET Development Sound volume level

    Hi All, I'm looking for a way to detect the main sound output volume level so that if it crosses a certain threshold i can perform some action (like turn speakers on and off hooked up to an external relay). I've been googling all night but can't find anything to help me, any ideas I think *maybe* Managed directX could be a possible way of doing it. I'll move this thread over to the DirectX 101 forums but apologies to the subform if its in the incorrect forum. Best wishes! ...Show All

  • Visual Studio File not found error is not fixed with analyze

    When I run analyze it displays this error: Unable to open file 'd:\vssdatabases\auntminnieasp\data\P\papgaaaa.a'. File "d:\vssdatabases\auntminnieasp\data\P\papgaaaa.a" not found So I run the suggested repair command. Analyze says it found and fixed some errors, but when I start SS as "admin" I still get this error: File "d:\vssdatabases\auntminnieasp\data\P\papgaaaa.a" not found If I run Analyze again, it still has the same "file not found" error. Any suggestions on how to correct this First, please verify whether the file actually exists on the filesystem. If so, it's likely a network error. If not, you have database corruption. Is this with VSS2005 or 6.0d If avai ...Show All

  • Windows Live Developer Forums Getting the locale of a user

    Hi, I'm planning a game for the P4 window, and want to store the game results so that they can be displayed by country afterwards. Obviously, I can grab the current locale of a player through the browser in the P4 window, but that wouldn't necessarily match the locale that they signed up with. Is there any way to grab that locale, i.e. their Passport locale, that I've overlooked Thanks James As far as I can see it is not possible with the activity SDK. The only thing that might work is getting their e-mail address and use some other SDK to get their locale, but I don't know if there is such a service (I haven't heard of it). So the best thing for now would probably be to grab the browsers locale a ...Show All

  • Visual C# A procedure imported by '{my assembly}' could not be loaded

    I have a Managed C++ dll written for IOCP and it is called from a c# assembly. The code works great on XP and 2003 server. I have installed it on Windows 2000 pro and when I run it the C# code that calls it I get the exception: {"A procedure imported by 'MyIOCPdll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f9d7c485896f2c68' could not be loaded.":"MyIOCPdll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f9d7c485896f2c68"} System.Exception {System.IO.FileLoadException} I can load my dll into Reflector and Analyze it. But If I try to "Evaluate Assembly" from the Administrative tools, .Net Framework 2.0 Configuration, Runtime Security Policy I get the error "Unable to load assembly: ...Show All

  • Visual Basic TCP/IP clients, listener, and servers

    I was wondering if anyone had a good example of a TCP/IP server VB.Net application using TCPclient and TCPListener that you could send me. I need to develop an application that acts as a TCP/IP server waiting for TCP/IP client connections. All of the connections have to be maintained and any received command has to be processed and status information needs to be returned to the clients. Tony Is the protocol something you can modify It looks like the protocol is giving you some difficulty. For example, if a client connects, looks at the status, and disconnects, this should be a specific protocol pattern that the server knows about, and knows that the client will disconnect. This protocol is similar to, s ...Show All

  • SQL Server Service Broker SQL 2005

    Hi, Wat is Service broker wat is the use of service broker How to use it with SQL 2005 Thanks & Regards, Mani Basically Service Broker provides communication infrastructure for building distributed applications. Some good reads: - The BOL introduction to the Broker: http://msdn2.microsoft.com/en-us/library/ms166104.aspx - Rushi's blog: http://rushi.desai.name/Blog/tabid/54/Default.aspx (the older articles cover 'what is Service Broker') - My blog: http://blogs.msdn.com/remusrusanu/ - Roger's blog: http://blogs.msdn.com/rogerwolterblog/ HTH, ~ Remus ...Show All

  • Internet Explorer Development Script error invalid character using the WebBrowser control

    One of our applications was broken after installing IE7. We narrowed the problem down to the below: WebBrowser browser = new WebBrowser(); browser.DocumentText = "<script src=\"file://c:\test\foo.js\"></script><p>test</p>"; This code works fine under IE6, but when running on IE7 you get the error: Line: 2 Char:1 Error: Invalid Character Code: 0 URL: about:blank It doesn't matter what is in the foo.js file, it can be completely blank and you will get the error. If you replace the file://c:\test\foo.js with a valid http URL (Internet zone), it works fine. If you create a file with the contents and load it into the control using browser.Navigate() it also loads fine. So it seems related to ...Show All

  • Smart Device Development Little help with closing socket.

    Hi, im sending bytes over a socket form pocket PC to desktop Pc. Sending is working ok. Now I wish to close the socket on PocketPC side, so I use the following on pocket PC: handler.Shutdown(SocketShutdown.Both); handler.Close(); handler = null; But on the desktop side the socket is not closing Heres what I have on desktop side: private void startListenThread() { writeLine("Starting Service..."); while (true) { allDone.Reset(); socket.BeginAccept( new AsyncCallback(acceptCallback), socket); allDone.WaitOne(); } } public void acceptCallback(IAsyncResult ar) { allDone.Set(); // receive Socket lis ...Show All

  • .NET Development Why is ASP.NET installed with Framework 2.0 during a Windows deployment?

    I've migrated Win2k console and Windows Service projects from VB 6 to VS 2005. I do not utilize web pages, only Windows forms and the Eventlog. The database is Access 2000 with ADODB and DAO 3.6 for programmatic compaction. I've created 2 deployment solutions, one for each. The references are installed from the local path not the web. Never mind that the ADODB.dll had to be manually added to the deployment projects since DAO was the only Detected Dependency. Why is ASP.Net installed during the Setup process Disabling the service has no affect on either of my apps. Is the ASP.Net installation a configurable option or is this a default "feature", should I decide at a later date that I want the References installed from the w ...Show All

  • Windows Search Technologies Writing Isearch Protocol and IURL Accessor

    Hello, I'm a Software Developer (Trainee). I'm entrusted for "Incorporating Windows Desktop Search with the facility to index and crawl URLs". I found it really difficult, since am a fresher. I don't have much knowledge of these. Anyhow, I found stuffs like Isearch Protocol, IURLAccessor, IFilter, etc that'll fulfill my requirements. But, still I don't have idea, how to use these stuffs. Can anyone help me out. It's urgent... Regards, Vikas Kumar Hi Vikas, Can you provide a bit more information about what you're looking to do when you say index and crawl URLs How do you want to incorporate WDS Thanks, Paul Nystrom - MSFT ...Show All

  • Visual Basic ComboBox: VB Code to select first one.

    Hi I have the following VB code, when someone selects the worksheet name from the combo box in the summary page it takes them to the worksheet. However, the problem is that if they select, for example, worksheet "B" it takes them to the worksheet fine but when they are back in the summary worksheet the "B" is still selected in the combo box and you can not select "B" anymore. You have to select other worksheet name before you can select "B" again. Is there any way to instruct the combo box to always select the first item in the list Thanks in advance. Private Sub AFISGBox_Change() Dim strSheet As String If AFISGBox.ListIndex > -1 Then strSheet = AFISGBox Sheets(strSheet).Select End If End ...Show All

  • Visual Studio 2008 (Pre-release) ScaleTransform issues

    I've created this sample in XamlPad to try to workaround some issues I'm facing when using ScaleTransform. The problems I've found are: 1. Because I'm using RenderTransform, the border has some issues with items which are in front in terms of ZIndex. Is there any way I can solve this in XAML - I know I can try changing the ZIndex property for the items in the listbox when they are selected, but I'm trying to do everything from XAML. - I don't want to use LayoutTransform (which would solve this issue) because I don't want other items in the listbox to move around when the Selected item changes. 2. Moving around with the keyboard inside the ListBox does not seem to work correctly. Is there something wrong with my code ...Show All

©2008 Software Development Network