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

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

hrubesh

Member List

snahl
Kolf
samssb
narasiman_jayachandran_2b5374
Will Merydith
Mats Aubell
chire
AussieNoobie
G lee
humberto molina
Vimal_Rupera
Unpro
JRMcFetridge
Rick Phillips440754
JonH66
sgra
Fluxtah
Trev72
Mark Macumber
Sergio Ordine
Only Title

hrubesh's Q&A profile

  • .NET Development XML variable problem(small question)

    Hey, In this code: XmlTextReader theReader = new XmlTextReader ( Application .StartupPath + "\\options.xml" ); while (theReader.Read()) { theReader.MoveToElement(); if (theReader.LocalName.Equals( "Fontbar" )) { string value = theReader.ReadInnerXml(); if ( value = "1" ) { toolStrip2.Visible = true ; fontBarview.Checked = true ; } else { toolStrip2.Visible = false ; fontBarview.Checked = false ; } } } I am having the program in it's load event check to see if it should have the Font Toolstrip(toolStrip2) be visible or not...but on the line of code I highlighted red I get this error: Error 1 Cannot implicitly convert type 'st ...Show All

  • Smart Device Development Using smartphone USB to connect a specific device

    Hello, I've got a USB device working fine under Windows XP. I want to connect it with my smartphone. Do you know if it is possible to develop a software under Windows Mobile 5 to drive this specific USB device using the smartphone USB port like a host one Thank you for your help. Bertrand You may use a GPIO card like CF to USB HOST adapter or SD card to USB HOST adapter. You would probably need WIN CE 5.0 running on PDA. This PDA will definitely work. http://www.overstock.com/Electronics/IPAQ-HX2790-624MHZ-64MB-POCKET-SYSTPC-SD-MMC-SDIO-CF-II-USB-SER-IRDA/2633083/product.html cid=123620&fp=F&ci_src=14110944&ci_sku=10837424-000-000 ...Show All

  • Visual C# Connect to running instance of Word (late bound)

    Hi I'm just wonder whether anyone can tell how to connect to a running instance of word (or any other office app) late bound System.Diagnostics. Process [] processes = System.Diagnostics. Process .GetProcessesByName( "WINWORD" ); object objWord = ( Word.Application) processes[0]; As you can see this requires a cast which won't work late bound. thanks Hi, For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups . Have a nice day :) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Packaging assets

    I haven't got into using XNA as of yet, however I very much like the idea to play my games on the Xbox360 (blah blah blah). I see that the XNA team has put large amounts of effort into some asset management in XNA, that includes the XACT audio cues for like "make it possible to change the sound triggered by some event without doing it in the programming". I'm fairly deep into the process of making my customized packaging format with the goal to essentially archive anything (textures, sounds etc) into a single or more packages. There are several reasons, one of them because I started before the XNA project was convened, and to ease distributions on levels and mods by packing several files, textures, sounds, scripts in a single package file. ...Show All

  • Visual C# FileLogTraceListener not writing to file beyond a constant max-size

    Hi Friends, I've been using FileLogTraceListener class to write log data to files. Since the data being written is continuously generated, I set the file to be created on a daily basis. I do not set up the maximum size for the log file. The problem is - My log files do not seem to grow beyond a fixed size (4833 K). All messages are written to log file till the file grows to this size and then no logs are appended. Here are my settings - faultLoglistener = new FileLogTraceListener(); faultLoglistener.Location = LogFileLocation.Custom; faultLoglistener.CustomLocation = "C:\\"; faultLoglistener.BaseFileName = "FaultLog"; faultLoglistener.LogFileCreationSchedule = LogFileCreationScheduleOption.Daily; faultLogli ...Show All

  • Visual Studio MS Build and MDSD

    Hello, I'm just starting with MS Build and I have a question, if the following scenario would be possible using MSBuild. We're just about to start a research project about model-driven software development. Because of other parts of the project using Java technology we use OpenArchitectureWare (and Eclipse) as the shared MDSD framework. So the output of oAW are some generated cs-files in a certain directory. Another part of the application (possibly dependent of the generated files) is developed with Visual Studio. So my question is: Is it possible with MSBuild to write a build script, which uses the solution developed in Visual Studio, integrates it with the generated files in some other directory and updates the sln-File (and whatever ot ...Show All

  • Gadgets Bandwidth Monitor

    Does anyone if it is possible to create a bandwith monitor sidebar gadget and if so has anyone got any examples I could look at. Regards Ian i think there is already one coming out at ideas.live.com tool's session... but i am still figuring out how to add it to the sidebar... vista is not supporting the setup file for me.... ...Show All

  • Visual Studio Express Editions text not showing in textbox

    Hi I have a form in my application and it send a command to another form, but it doesn't work like it should in the 1st form: chatclient.verzendEN(message) 2nd form: Public Sub verzendEN( ByVal bericht As String ) txtBericht.Text = bericht MsgBox( "test " & bericht) End Sub It display's the message that is send in the messagebox, but the textbox (txtbericht) stays blanc. Anyone know why and how i can fix this Thanks in advance and bye. You need to reference the existing instance of the form, not create a new one. Lots of ways to do that but you haven't shown us enough code to tell you which way is best. Generally: My.Forms.ChatClient.verzendE ...Show All

  • .NET Development IIS Worker Process message box

    Application Error Event 1004 appeared with this in the event log: Reporting queued error: faulting application w3wp.exe, version 6.0.3790.1830, faulting module unknown, version 0.0.0.0, fault address 0x00730061. Not sure why this is occurring, but have been unable to find any solutions about this on the newsgroups. I have seen other posts, but no answers. Hey, I also just started having this problem this morning. Reporting queued error: faulting application w3wp.exe, version 6.0.3790.1830, faulting module davex.dll, version 6.5.7651.60, fault address 0x00067922. Has anyone came up with a solution to this Thank You ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I cant run the tutorials in the Aug SDK

    I just downloaded the Aug Directx SDK and I am trying to run any of the tutorials for Direct3D, but I always get a BadImageFormatException error. The line: using ( CreateDevice frm = new CreateDevice ()) Throws the exeption (This is from Tutorial1). However the EmptyProject runs ok. Any clues why the turorials are not running I think I have everything fully updated. -Matt I am running WinXP (64bit), and this is my VS version Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 ...Show All

  • Audio and Video Development AACS protection has been hacked

    I don't like to be the party pooper but I heard the news today that the AACS copy protection  for HD DVD has been hacked. I'm completely pro HD DVD, so I don't like this news one bit . Could this mean a serious threat to HD DVD already BD uses AACS too so I hope it's just a matter of (little) time, so BOTH formats are back to square one. Hopefully the HD DVD specs can still be reviewed to fix this problem... http://forum.doom9.org/showthread.php t=119871 http://www.youtube.com/watch v=_oZGYb92isE I affraid by last information about AACS hack. Now they know when they can read the " title key ", " volume key " and " media key disc "!!!!!!! It is not only titles keys. I understand that all HD DVD sell n ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D :'( Its like 1am in the states so i guess we are waiting for them :(. This is like xmas and Bill Gates is our dad, wake up Billy so I can open my XNA! ...Show All

  • Visual Studio Express Editions Getting the string value out of a WMI query

    Hi Folks; I have a function that was available on the MSDN website to gather system information using WMI and it works beautifully. My frustration is this; the data (computer name for example) comes out as a BSTR. I also have a Win32 appl I'm working on so I want to be able to pass the name to my app so it can put it out onto a text field. The problem is there is no easy conversion that I'm aware of. A snippet of the code is as follows: ... VARIANT vtProp; VariantInit(&vtProp); // Get the value of the Name property HRESULT hr; hr = pclsObj->Get(L "CSName" , 0, &vtProp, 0, 0); _bstr_t b = vtProp.bstrVal; data.CompName = ( char *)b; ... This is one of the many examples I f ...Show All

  • Visual Studio 2008 (Pre-release) Enumerations over indigo

    I am getting the following error on a call I'm making over indigo from an asp client(and non asp client also) Enum value '258' is invalid for type 'ImageInfoOptions' and cannot be serialized. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute. This is my Indigo Contract: [OperationContract] Result GetImage(int imageId, string userName, ImageInfoOptions imageInfoOptionsEnum); This is my enumeration declaration: public enum ImageInfoOptions : short { a = 0, b = 1, c = 2, d = 4, e = 8, f = 16, g = 32, h = 64, i = 128, j = 256 } And this is my call from the client: GetImage(1, "Test", ...Show All

  • SQL Server .NET CLR data SqlClient Connection Pools has not instances in Perfmon Performance Monitor

    I'm running SQL Server 2005 x64 on 64bit Windows 2003 Server. I'm getting connection pool errors on our web app so I wanted to use PerfMon to check the connection pool list, but actually I can't add it to Performance Monitor. The Add button never becomes enabled since there seems to be no available instances on the right hand select box. I maybe too new to this, but was there something I have to enable in SQL SERVER 2005 or .NET so that I can get this performance data Thanks, Not sure why you can't add in PerfMon, but pool errors are usually due to not closing connections. You must call the Close method of a connection before a method ends. Also if you are passing DataReaders around you may be le ...Show All

©2008 Software Development Network