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

Software Development Network >> Nuno Barreiro's Q&A profile

Nuno Barreiro

Member List

Ishai Sagi[MOSS MVP]
DanMeyers
Luiz Gonzaga
Salman Maredia
zoffdino
KevinDSE
mruniqueid
GjSonke
Dual Cortex
Paul Yau
molemenacer
swine
Aniruddh
Pixelpands
Sebs_Arg
Mikael Håkansson
Magannahan Skjellifetti
Prodigy201
SolarWind
Mazmo
Only Title

Nuno Barreiro's Q&A profile

  • Visual Studio Express Editions VB Newbie: How can I create a log scale graph?

    Hi, (as mentioned above, I'm a VB newbie using Express 2005) I'm going to create an application that must, among other things, display an audio frequency graph (spectrum analyzer style) (log scale) from 0 - 30kHz or so. I don't see any built-in functionality for graphing. Is there a free graphing module or anything I can use for this Or any short-cuts Or must I draw it myself using boxes and lines (Please tell me I don't have to do that.) I can create such a graph in Excel and grab a screen capture and use it as a background picture, but that's not going to help when it comes time to plot some data. Any helpful tips Thanks. ...ToddJ Wow, thanks Renee, That's exactly what I needed. Kudos. A ...Show All

  • SQL Server Mirror goes down... Affect client transactions?

    If the mirror server goes down for any reason, then what happens to client transactions against the principle Will any client transactions fail Thanks in advance Quick answer - no, they should not be affected. However, if you have witness set-up and the principal cannot connect to both the witness and the mirror then it will stop serving the database and the transactions will fail. Take a look at this article: http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx#ETPAE Thanks, Kaloian. ...Show All

  • Visual Studio 2008 (Pre-release) Viewport3D view converting to image file

    Hello, In my application, I have got a Viewport3D with some 3D models. I want to develop the function which converts the view of the Viewport3D to an image file, which could be saved on the hard disk. Is it possible Thanks. ...Show All

  • Visual Studio Hiding row containing subreport

    Hi, I'm having a subreport in a row. Initially I'm setting the Visibility-Hidden value of the row to false and Visibility-ToggleItem to a field in a different row. I would like to hide the row when there is no data in the subreport and also avoid the toggle icon. Is this possible If so can someone explain how. Any help is appreciated. Thank you. Ajay ...Show All

  • Software Development for Windows Vista importing activities into sharepoint designer

    Hi, I have a custom activity created in wwf..now, I need to import it into sharepoitn designer so that I can use it in a workflow. Any ideas how I can do this Thx You might try the Sharepoint 2007 beta newsgroup found here . ...Show All

  • Community Chat LED connected to parallel port and flashing Morse Code!

    Hello everyone! I connected an LED to my parallel port yesterday..Then, I created a program in C# to control it. The program makes the LED flash morse code. I really enjoyed making it! Check it out on my blog: http://ashishrd.blogspot.com . If you can't find it on that page..go here: http://ashishrd.blogspot.com/2006/11/morse-code-converter.html . Hope you find it interesting. I'd love to hear your comments. :) Ashish The video's working now so here goes: AWESOME! Now you should make some kind of 'eyes' for your computer that converts the flashing back into text (just for the hell of it) ...Show All

  • Visual C# Beginner questions about Serial.IO.Ports and multiple forms

    Hello everybody, I'm currently learning C# using Visual Studio 2005 and still have a hard time to get the big picture in this (new to me) object oriented world. I hope you don't mind answering me some questions that might be pretty basic in your point of view. I managed to write an application that reads commands (text strings) of a serial port and does certain things. I'm now in the need to make this serial port reader a background task that is always running, regardless which form is currenlty visible. I would also like to move the serial reader into a seperate class to keep the code a little cleaner. I read about the background worker task but I'm still confused whether or not this is the way to go or if there is an easier and ...Show All

  • Visual Basic Batch & VBS Scripting

    Hi all, Im after someone who can help me via Batch or VBS scripting make an entry into the registry as follows: I need to add the ASPNET account permission to the EventLog Registry, found at the following location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog Im trying to do is by adding Full Control (Read and Write) access for the ASPNET account to the event log. I know i can just right click and add the account through permission and check full control but i want to do this through scripting. Any ideas Can someone please help me.... much appreciated!! ...Show All

  • .NET Development Programmatically change UpdateMethod of ObjectDataSource

    I want to change the UpdateMethod of an ODS. I've tried changing it but it keeps going to the method initially defined. The parameters are the same between the two methods. The docs indicate that you can Set the property and you don't get a compile error. Any thoughts From the code above, shouldn't it be ObjectDataSource2.UpdateMethod = "UpdateContact" Have you tried placing a breakpoint on the CustomerDS.UpdateMethod = "UpdateContact" line to make sure it is executed as expected Charles ...Show All

  • Windows Forms set a Datagridview datasource to datareader

    How can I set a Datagridview datasource to datareader My code appears below... //Build the connection and open it System.Data.OleDb.OleDbConnection con = new System.Data.OleDb.OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + @"\MyDb.mdb;User Id=admin;Password=;"); con.Open(); //Create SQL statement string sql = "SELECT * FROM Log"; //Open a command object using the connection and prepare the sql statement. System.Data.OleDb.OleDbCommand cmd = new System.Data.OleDb.OleDbCommand(sql, con); //Run the command System.Data.OleDb.OleDbDataReader reader = cmd.ExecuteReader(); //Loop though and display the first col ...Show All

  • SQL Server Regarding Accessing on every objects within the sql 2005

    Hi guys , can I know is that any way to set up some authentication for user access all the objects within the database after login successfully. For example, after access login into the database server and would like to click on certain database (eg : A) , then pop up the user access login page again. Thx could you explain this a bit more, I did’n’t get your point from the explanation. Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server event for call export.

    Hello : I have a report with a button, and when I click the button I call directly the export of the report. It is what the event which call the export. Thank's. What about redirecting / hyperlinking to the same back with the appropiate Export parameters using URL parametrization (examples shown in the BOL) HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Smart Device Development adding items to listview is very slow

    I have 300 items to add to the listview suing CF 1.0. ListViewItem lstItem = new ListViewItem(finalList[ i ].qNum.Trim()); lstItem.SubItems.Add(finalList[ i ].qDesc.Trim()); lstItem.SubItems.Add(finalList[ i ].qDesc2.Trim()); lstItem.SubItems.Add(finalList[ i ].qDesc3.Trim()); if ((_check || finalList[ i ].alreadyChecked) && listView1.CheckBoxes)        lstItem.Checked = true;           listView1.Items.Add(lstItem);   I clear the listview and then we see the scroll bar getting smaller as the listview is filling up. Anyway to make it faster Thanks   Aaargh. I hate it whe ...Show All

  • Visual FoxPro VBA to VFP code conversion

    Can anyone help with converting the following from VBA code generated in Excel to VFP code: Sheets("Notes").Copy Before:=Workbooks("AB0KF3FK.XLS").Sheets(1) Thank you And here are the steps that you can use to translate the VBA into VFP: 1. Add parentheses around the parameter list 2. Examine the calling prototype for the method in the object browser and rearrange the parameters in the generated macro so that they appear in the same order that they are listed here. Because VBA uses named parameters, their order does not matter. This is not so in VFP where parameters are positional. Regardless of the order of the parameters in the VBA macro, the Object Browser a ...Show All

  • Visual C++ MFC and IJW

    I have not been able to mix unmanaged C++/MFC code with managed C++ code using IJW. For example, the following code compiles but generates an exception when run: #include "stdafx.h" using namespace System; int main( array <System::String ^> ^args) { CFileStatus oFS; BOOL bStatus = CFile::GetStatus( _T( "test.tmp" ), oFS ); return 0; } What happens is the function 'AfxWinMain' is called, gets a pointer to the main thread but this pointer is NULL. I've spent 4 days working on this and I am at a loss as to what needs to be done. My questions are as follows: 1) Are there any examples or available solutions (.sln) files that illustrate how to mix unmanaged MFC with managed C++ code ...Show All

©2008 Software Development Network