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

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

hommer

Member List

Shmelly
Quilnux
Amjath
gssundar
Paul B - Miami
VBAddict
Charley Lou
erikkl2000
satab
Chris_Botha
Dwayne J. Baldwin
Aaron S.
gmedia
Corres
orokulus
BhuttCrackSpackle
Drore
rwerner
furmangg
ldubois26486
Only Title

hommer's Q&A profile

  • Visual C# Two way Communication between exe and dll

    How could i acheive two way communication between the exe and my dll (without adding reference of each other in both ) thanks use system.diagnostics namespace Process class to execute your exe from the dll., To instantiate your dll(assembly) from the exe, if you do not want to refer this dll in your app, you can dynamically invoke this assembly by using the Assembly class LoadFrom method. Then you can use reflection to invoke the methods mecspek ...Show All

  • SQL Server SRS Performance Problem

    I have a performance problem with Reporting Services that I can't seem to get around. I have a stored proc based report that takes about 20 minutes to run. Even executing just the stored proc on the Data tab within Visual Studio takes 20 minutes. When I run the same stored proc that the report is based on in SQL Management Studio, the proc takes about 25 seconds to complete and returns 1 row (with minimal data). When I view the stored proc running from Management Studio vs. Report Server in Profiler I can see that the same exact command is being executed with the same parameter values. The only difference is that Management Studio runs a SQL Batch while Report Server is making an RPC call. I am lost as to why there is such a big d ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Record Audio Output

    Hi all, I want to record audio output, mean the audio stream from the speacker not the mic. For example I start Media Player and then record it's output. Can you help me cheers DirectSoundCapture will capture from the selected recording device/channel in the Windows volume control utility. You should find a channel called "Wave Out Mix" or "Stereo Mix" or something similar, and check it as the selected recording channel. Note that not all cards can reroute the stereo mix to the recording unit, but many do... ...Show All

  • Visual Basic Compile VB to one EXE

    Hi, I made a Visual Basic program, using Visual Basic Express Edition 2005. It contains several files, after it is published. Is it possible to compile these into one exe file that the user can run yes, it does form one exe, but it also forms a .application file, as well as a folder with the application's name with it... Is there any way to compress these three items into an installer similar to freeware programs thanks, scottg ...Show All

  • Visual Studio Building VB6 applications.

    I have a good amount of VB6 code that I would like to build using MSBuild - I would prefer not to migrate/convert the code to .NET at this time. Has anyone been down this road before - any ideas/tips Thank you! It is possible. this is a post I found that may help you out. It is older, but worth looking at. http://www.winfx247.com/247reference/msgs/0/981.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Launcher icon?

    Howdy, Is there a way to display an icon to the left of the game title on the XNA Launcher screen on the 360 It looks like there's room for one and I recall seeing them in some of the demo vids, but I couldn't find any info here or in the GSE documentation. Thanks, Brian ...Show All

  • Visual C# foreach without Type

    Hello, I have a collection and I want to iterate all elements in it. Example: string [] arr = new string [] { "A" , "B" , "C" }; foreach ( string s in arr) Console .WriteLine(s); in the example the element type is string, because the collection is array of strings. is there a way to do the same as foreach does, but without declaring the type. something like: foreach ( s in arr) Console .WriteLine(s); some how make the compiler know that the type is the collection's element type. Thanks. Ori N wrote: yes, I've heard something about the var stuff. Currently my application is deployed with .net framework 2.00, and it is not going to change for a w ...Show All

  • .NET Development The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    Hi, When I deploy the asp.net application on 64 bit OS mechine I am getting the following error. The same application is running properly in 32 bit mechine. Error : The specified module could not be found. (Exception from HRESULT: 0x8007007E) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exc ...Show All

  • .NET Development Access assembly from another computer?

    Hi, I have an assembly on a server and it is registered in the GAC on the server. How can I make a referende to this from an assembly running on another computer Thank for the help! Best regards Kim ...Show All

  • Visual Basic vb code part 2

    Hi all, I ported a class from c# to vb, it's bassicly a class for the systray icon with balloontip it compiles and i think the code is correct, but for some reasen i got some problems 1. the std tooptip is truncated eg "hallo" becomes "h" 2. the balloon never shows up when the sub ShowBalloonTip is called I stairing to the code and slowly driving me nuts, i must be overlooking something simple the origional c# code is here I'm ghoing to cut the vb code in peaces en post them for some reason i can not post 'big'messages remco vb code part 1 Imports System Imports System.Collections Imports System.ComponentModel Impo ...Show All

  • Visual Studio Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again.

    I am facing this problem most often..When i am in view code of SQL Server Business Intelligense Develpment enviorenment..its stop to open Ctrl F to open the Quick Find message box on key stroke whicle from main menu its opening the same quick find message box ..and though i try to close the project its giving error below.. --------------------------- Microsoft Visual Studio --------------------------- Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again. I have to manually close the window from TASK MANAGER.. Please look into matter or guide me where i sud put this matter.. I'm having exactly the same problem. I don't even have to open any dialogs. After edi ...Show All

  • .NET Development .NET 3.0 breaks printing subsystem on non-english XP / VERY ugly effects

    After installing .NET 3.0 on non-english XP two things will break parts of the printing subsystem: - parts of XPS are installed in English, i.e. unidrv.dll / unidrvui.dll / unires.dll etc. are non-localized As a consequence Printing dialogs of all unidrv.dll-based printer drivers show mixed output localized/english. And the default Input Tray is set to 'Automatically Select' even on a german XP which leads to strange effects like printers suddenly asking for paper in the Manual Tray instead of using Tray 1 as usual. - unidrv.dll / unidrvui.dll / unires.dll etc. are Windows Vista DLLs and incompatible with many XP Printer Drivers As a consequence some printer drivers will print all pages of multi-page documents on one sheet, all ...Show All

  • SQL Server Merge replication foreign key problem

    Hi there. I'm somewhat new to merge replication, and I've been having an issue with one of the scenarios that I've been trying to get working. I am using SQL 2005 on the server, with 2005 express on the client. I have 2 tables: Photo - which has a PhotoID primary key PhotoData - which has a PhotoDataID primary key, and a PhotoID foreign key both primary keys are int, and set to identity. I only want the Photo table to replicate for the merge, because I want the data in the PhotoData table to only be called by demand through a web service (since the images in that table are too large to be included in the normal replication). However, when a client adds a photo to his local database (which adds a record in the photo table, ...Show All

  • Software Development for Windows Vista What happened to Speech support?

    I thought I had read somewhere that .NET 3.0 was going to have speech support. I can't find it though (it's quite possible I just missed it). Do you have to be using Vista to get that speech support Thanks a bunch! Check out: MSDN: http://msdn2.microsoft.com/en-gb/library/system.speech.recognition.aspx http://msdn2.microsoft.com/en-gb/library/system.speech.synthesis.aspx Managed example code: http://msdn.microsoft.com/coding4fun/windows/article.aspx articleid=909044 ...Show All

  • .NET Development My COM class prevents client app from exiting

    I'm building a plug-in for an application that exports a type interface. I've implemented the type interface using C#/.Net 2.0 and everything works fine. That is until I exit the client app. It cleans up it windows, but hangs around waiting forever, until I kill it from the task manager. I suspect the problem is my COM class isn't implmeneting whatever is called to finalize it. I've tried ~Class, but that didn't change anything. Can anyone tell me what I'm missing, or to an article that describes shutting down a COM server Are you using threads in your plug-in Is one of them still running when the client exits ...Show All

©2008 Software Development Network