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

Software Development Network >> Hugo Soares's Q&A profile

Hugo Soares

Member List

IamHuM
h1
Grussellr
Testpilot.dk
D. Omar Villarreal
dnweb
mrMarkH
Maurino
Joshua-Programmer
JFoushee
Matt Stum
James Miles
vdv_phuong
starfox96
RWF
R.S Kimberly
Tony Sperling
Chidu
Shady Brady
Pvanroos
Only Title

Hugo Soares's Q&A profile

  • Visual C# Time

    Okay, so I am trying to make an alarm clock program for computer, to familiarize myself with C#. What I need help with, is I have the dateTimePicker tool for setting the alarm, and I have a label for displaying the current time. My coding problem, as it were, is that I cannot figure out how to make the label display the current time, or how to get my program to play the music when the time comes around. I already have the ability to open a file, and have set the file filters for WAV, WMA, MP3, MP4, and MIDI files. so, my program can open files, but of course, at this moment, it cannot use them. Any help would be greatly appreciated. you need to add the COM component into your application, right cl ...Show All

  • .NET Development Abortable thread with return value

    Hello, There are two possible solutions that would work for me here... Requirements are as follows: I want to run a task in the background. The task returns a value, which I need to collect. I also need to be able to abort the task. I can use Thread.Start, and then Thread.Abort if I need to stop it, but I can't find a way to get a return value by this method. Alternatively, I can use BeginInvoke, which makes it easy to get a return value using EndInvoke, but then I can't seem to find a way to abort the thread. Either method would be fine. Any suggestions Thanks, Nick I'm running into a similar issue, on Sybase ASE 12.x. Calls to OleDbCommand.ExecuteScalar() occasionally never return - th ...Show All

  • SQL Server querying through NUll

    hello , I have 2 tables that are linked and i am querying sencond table from 1st table here is how my query looks. It works fine when i enter the parameter value from 1st table , it gives me the assoaciated values in 2nd table, But i also want it to display without filtering the second table when the parameter value is NULL ie when there are no associated values in 1st table. I tried putting "IS NULL" but it doest work. Can any one please help me out with this Thx SELECT DISTINCT dbo.group_primary.site_group_primary FROM dbo.group_primary INNER JOIN dbo.group_conversion ON dbo.group_primary.id = dbo.group_conversion.primary_group_id INNER JOIN dbo.group_secondary ON dbo.group_conversion.s ...Show All

  • .NET Development How does the .NET FCL work?

    Does the .NET framework function off of Win32 API methods or something Sure, C# and .NET languages use .NET, but how does .NET do what it does Yea, but how does it actually function C++ the language itself doesn't have a webclient class or things like that, how does the webclient class and other .NET classes actually work ...Show All

  • Visual C++ error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_

    Hi, I get the following linking errors: 1>comp445.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" ( __imp_ $ 6DU $char_traits@D@std@@@std@@YAAAV $basic_ostream@DU $char_traits@D@std@@@0@AAV10@PBD@Z ) referenced in function _main I am using Visual C++ 2005 Express. Which library should I include in the link setting Thanks for your help. do you see the right part of the forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=73778 ...Show All

  • Windows Forms selecting display/screen device for form how?

    I'm working with a multi-head system and would like to position my application form on a display other than the primary display when it is created/Show()'n for the first time on application startup. How is this done Thanks Tyler To show a form on a specific monitor all you need to do is to set the location of the forms so it is in that monitor display bounds. To get the bounds of a monitor you can use the Screen class: // This the position of the form relative to the top left corner of the monitor where you want your form to show up Point formLocation = new Point (100, 100); foreach ( Screen screen in Screen .AllScreens) { // You need to know the name of the device to whic ...Show All

  • Smart Device Development AVRCP

    Any help in finding documentation on how to use AVRCP in C# CF 2 appreciated :) Microsoft BT stack APIs are described here  (WM 5.0) and here  (CE 6). I’m not sure if this profile is even supported though and if it is it might be up to OEM to support it or not. If you happen to have 3 rd party BT stack you’d need to contact that 3 rd party to obtain documentation and/or SDK. Link #3 points to one of these manufactures. ...Show All

  • SQL Server Local cubes connection

    Hello, I have created 3 local cubes which resided in the same .cub file. The cubes created from AS 2005 cubes. How can I make ADOMD connection to all 3 cubes at the same time in my client application (C#) The problem is that Initial Catalog (database name) in connection string in case of local cubes is the same as the cube name. Thanks, GB Still have the problem. My local .cub file created by XMLA script contains 3 databases with 7 cubes each. When I open this .cub file in MDX Sample application I can make a connection and MDX query to any of 3 databases and accordingly their cubes. But in my C# application when I try open connection to all local databases in a loop from the same .cub file I got the error just after ...Show All

  • Visual Studio Team System Data Generation - Unable to bypass circular references

    I'm trying to create a generation plan for my database but keep hitting the problem of "Table <x>: The Data Generation plan contains a circular reference. Population cannot continue". Note that I didn't design this database There are two tables, Survey and Property. Survey is many-to-one related to Property, and so has a foreign key of the PropertyId On Property there is a column called SurveyToUse which is a foreign key to Survey. Apparently there is nothing I can do to avoid the error. In theory, I should be able to deselect generation of the SurveyToUse column in Property (it's nullable), which will avoid the circular reference. Sadly this doesn't work. Is there anything I can do to get around ...Show All

  • Visual Studio Express Editions Shutdown

    I am using this code in my applcation to shutdown my computer: Shell( "shutdown /s /t 0" ) I found that you cna change the message on the shutdown window by putting: c/"Message" but when i try this it doesn't shutdown. How can i incorporate it into the code Actually, given the opportunity to promulgate copious quotation marks, the urge to expediently respond using the initiators initial construct was overwhelming and obscured my customary observance of optimum style selection. Translation: Tall Dude got hack code, Spotty knows what he is doing. ...Show All

  • Smart Device Development USB driver

    Hello I have a PDA with windows CE .NET 4.2 and I need to send to him, by USB cable, pics from a digital camera. My digital camera is a Sony Cyber-shot DSC-P72 or can be a Canon PowerShot A620. When I link one to another I get the following message in th PDA: "Enter the name of the driver for this USB device: Driver name:" Does anyone have the drivers for those cameras or can help me with this I have some urgency in this and I would be very thankful with your attention. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having a ...Show All

  • .NET Development .Net Framework installation problems

    Hi, This is my first posting - so appologies if its in the wrong section. I require assistance with the installation of V2 . net x86 framework installation. To date I have had no problems installing V1 or V1.1 patch. However when installing V2 I get an error message sayin the the installer cannot access the Microsoft_VsaVb.dll file. I have a massive logfile (8Mb - yes 8Meg) to compliment the problem. I have uninstalled zone alarm. I diabled my Antivirus (AVG - girsoft), I disable all programs in the system tray just to proceed - but still no luck. I require V2 to run some new appliations and realy would appreciate some assistance. Thank you . Regards, Marcel It doesn't solve anyt ...Show All

  • Software Development for Windows Vista How to prevent Explorer to open the "Prepare this disc" dialog

    Hello, I'm working on a tool to mount arbitrary sessions on a multi session disc. It works fine on W2k and XP. On Vista, it also works fine, as long I issue my mount commands via a command line application. Using a shell extension on Vista with a recorder device, quite frequently causes Explorer to open the "Prepare this disc" dialog. Clicking Next and confirming disc preparation usually damages the media. Question: How to avoid Explorer from opening this dialog Hello garrett, for a first test, I disabled autorun permanently via registry - it didn't help at all. I guess, that 'IQueryCancelAutoPlay' will have no other effect, except it dynamically allows to reject autoplay, so I didn't impl ...Show All

  • Windows Forms Closing original Form

    If I have a startup form that allows the user to open other forms is there a way to close that original form or hide it until the user needs it again Thanks Thomas you would need a reference to the first form in that case if you want to show it again if its hidden. you could use a ShowDialog() when showing other forms from the caller, as this will make sure the user cannot access the forms underneath until they close that form. Is this a better solution you are after perhaps ...Show All

  • Visual Studio Express Editions Random Number Generators

    Hello I have the following code : Random random = new Random (); for ( int i = 0; i < 14; i++) { int number = random.Next(0, 10); MessageBox .Show(number.ToString()); } How can I create an Array (or an ArrayList ) in order to display all the numbers in a listbox I also would like to create a seed based on the clock of the computer, thus each time the program would run it would be unique. Is such thing possible Thanks in advance. Nefer-Ra So I saved this arraylist into a listbox ... hod do I retrieve the elements in order to save them to a file I open the dialog box, set filter to .txt, open a file stream and I was thinking something like "this.listbox.Items.S ...Show All

©2008 Software Development Network