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

Software Development Network >> Purple Frog's Q&A profile

Purple Frog

Member List

Sabrecat
DuncanP
bryanedds
Michael Herman - Parallelspace
macrohard1
codekaizen
IgorP
CetinBasoz
Sheng1983
SouthernPost
waruwaru
swathi_challa
GregMaxey
Pockey
3d_developer
Srichris
gafferuk
hodosh
Yuki Chen
sugrhigh
Only Title

Purple Frog's Q&A profile

  • Visual C++ win32 console application

    Hi, Currently Iam Implementing USB Downloader in Win32 Console Application (Visual C++) I would like to know whether Win32 Console Application supports USB Driver Auto detection APIs.(like Auto check of Removing & insertion of USB) I know verywell in MFC Programming "winproc" will take care of auto-detection Thanks in Advance regards Could you PLEASE stop posting more threads about this It's already active in the C++ General foum: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=822192&SiteID=1 , not to mention the two other duplicates I've previously deleted. ...Show All

  • Visual Studio 2008 (Pre-release) Returning an Array of DataSet

    I send an array of DataSet back to the client from the server in WCF and in the client the length of the array is 0. It return nothing. This is the code: public DataSet[] GetDataSets() { DataSet[] data=new DataSet[10]; for(int i=0i<10;i++) { data = GetData();//get a dataset } } Can you add more information about you scenario In the sample code below, the client receives an array with 10 DataSet objects: using System; using System.Data; using System.ServiceModel; using System.ServiceModel.Channels; namespace ServiceTemplate { [ServiceContract] public interface ITest { [OperationContract] DataSet[] GetDataSets(); } public class Service : ITest { DataSet GetDat ...Show All

  • Visual Studio ObjectDataSource issues - WinForms app

    I have created an ObjectDataSource for my report and I can drag the properties of the object inside a list on my reportdesign. Nice.... However, whenever I drag a second property inside the list on the same report and try to compile, I get the following error: More than one data set, data region, or grouping in the report has the name ‘RZ_Agora_MarketInformation_Win32UI_Registration_MarketSegmentReport’.  Data set, data region, and grouping names must be unique within a report. C:\agora\RZ.Agora.MarketInformation\Win32UI\Registration\PrintFormRecordingPerMarketSegment.rdlc RZ.Agora.MarketInformation After, if I look into the DataSetName property of the list, I can select from two instances of the same dataset There ...Show All

  • Visual C# Is there any way to implement an application that close other running application???

    help me if there is any way to implement an application that close other running application... thanks in advance.. Peter Ritchie wrote: You could post a WM_CLOSE message to the applications main window asking the application to exit. Anything else would terminate the application abruptly and likely leave any opened files in an indeterminate state. There's not guarentee that an appplication will/can respond to an WM_CLOSE message. but how for example microsoft windows do that ... for example when you go to task manager and then to processes tab and force the process ( application to end) how that was coded I want something like that .. thanks again in advance ...Show All

  • Visual C# Q: Remove an instance of a class from an ArrayList

    Hello everybody. Here is the code ArrayList ar = new ArrayList(); ar.Add(new TileInfo("picture1",10)); ar.Add(new TileInfo("picture1", 20)); ar.Add(new TileInfo("picture1", 30)); ar.Add(new TileInfo("picture1", 40)); foreach (TileInfo o in ar) { listBox1.Items.Add(o.Path + " " + o.AvgColor); } listBox1.Items.Add(ar.Count); TileInfo k = new TileInfo("picture1", 10); ar.Remove(ar.IndexOf(k)); foreach (TileInfo o in ar) { listBox1.Items.Add(o.Path + " " + o.AvgColor); } listBox1.Items.Add(ar.Count); My question is: Why do I still get the same output even tho ...Show All

  • Audio and Video Development Is there a way to do a frame grab of a movie and store it as a jpg or png in the persistent storage ?

    Hi All, I was wondering if there is a way to do a frame grab of a particular scene while watching the movie and store that frame as a png or jpg in the persistent storage of the player Let's say I define a function for key "A" on the remote which does this when pressed. Any pointers would be appreciated. Thanks can we test this on iHDSim I am trying to test this code on iHDSim and the video pauses for a second and then resumes, however I am not able to locate the "image.cvi" on my PC. Any suggestions Or this only works for testing on the emulator Am I doing something wrong ...Show All

  • Visual Studio 2008 (Pre-release) Reflection based loading of Ressources

    Hi. I am building a small test framework for loading and instantiating XAML views. I have got a problem with Reflection and loading of XAML ressources. A. I Load an Assembly: .... a= Assembly.LoadFile("myassembly");... B. I would then like to load the XAML ressources in that Assembly into the current Applications Ressource Dictionary, (Merged), something like this: uri = new Uri("pack://application:,,,/MyAssembly;component/Resources/SomeResource.xaml"); rd = new ResourceDictionary(); rd.Source = uri; Application.Current.Resources.MergedDictionaries.Add(rd); When I use the methods: GetManifestResourceNames / GetManifestResourceStream / GetManifestResourceInfo on the assembly, I get the embedded ressources ...Show All

  • Windows Forms installing windowsInstaller

    for run and execute .NET Framework 2 with installscript, I need to install windowsInstaller. Enyone knows how can I write script for installing windowsinstaller 3.1 on installscript. Which operating system are you using for this test MSI 3.1 doesn't support some older Windows versions. Please see "What platforms does Windows Installer run on " at http://www.msifaq.com/a/1001.htm ...Show All

  • SQL Server Upgrade to 2000 sp4

    This is want happen. We have upgraded from sql 2000 sp3 to sql 2000 sp4 on an window 2003 server with sp1. Now we are getting this error. ERROR: 17805, SEVERITY: 20, STATE: 3 INVALID BUFFER RECEIVED FROM CLIENT.. Any ideas. Mark When do you get this error This KB article describes one possible solution. http://support.microsoft.com/kb/896373 And another: http://support.microsoft.com/kb/818897 Thanks, Sam Lester (MSFT) ...Show All

  • Windows Forms DataBound ComboBox

    Ok, I have a form with a datagridview and a details view next to it for each record. This datagrid is bound to DataBinding1, let's say. In the details pane, one of the controls is a ComboBox that is bound to a customer list / customer ID (DataBinding2). The customer name is the display member, and the customer ID is the value member. The data populates fine, and the ComboBox in the details view changes appropriately as you scroll through records. HOWEVER, when you change the value of the ComboBox, it fails validation, as if it is trying to store the display member (the name, not the numeric ID). I can type a simpe id that exists in the Customer database (i.e., 1), and it will pass validation and store the changes. Any ideas why it is not s ...Show All

  • Visual C++ Trouble with scrollbars and mfc sliders

    Hi everyone. I am making an application and using the dialog design with common controls for it. I put a slider in, but to use it I needed to include afxcmn.h and when I do this i get three link errors: 1>Linking... 1>nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" ( 2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj) 1>nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" ( 3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj) 1>.\Debug/CharICS.exe : fatal error LNK1169: one or more multiply defined symbols found So next I put a scroll bar in instead but whenever you scroll the bar it just resets to the far left. If anyone can help me with thes ...Show All

  • SharePoint Products and Technologies FileOpenAccessDenied Exception

    Hopefully, someone can help me. I have a web part calling out to the Excel Services web service (code appears below). I am simply trying to return the value from a cell, but I can't even get the file open. I am getting the FileOpenAccessDenied exception, even though the user is a site owner for everything, from the site collection on down. I have even tried overriding permissions in the doc library to ensure that the user is the owner. I have set up the entire site collection as a trusted location for Excel Services. I have published a major version of the spreadsheet in the document library. Can someone please help me I have been fighting this for two days. Here is my web part code: using System; using System.Runtim ...Show All

  • Visual C# Stack OverFlow Exception in .NET compact C# Application

    My C# application has numerous windows form and I often need to call another windows form and closes the previous one. However, because of this, stack overflow exception happens. I have run the debugger in VS2005 and noticed that whatever form that the application loads has all its methods push into the call stack. For example, namespace PHIMS { public partial class AddAllergy : Form { public AddAllergy() { InitializeComponent(); } private void pictureBoxhome_Click(object sender, EventArgs e) { inputPanel1.Enabled = false; this.Dispose(); MainPage main = new MainPage(); main.ShowDialog(); } } Is there anyway I could empty the call stack so that the stack overflo ...Show All

  • Visual C# Stack OverFlow Exception in .NET compact C# Application

    My C# application has numerous windows form and I often need to call another windows form and closes the previous one. However, because of this, stack overflow exception happens. I have run the debugger in VS2005 and noticed that whatever form that the application loads has all its methods push into the call stack. For example, namespace PHIMS { public partial class AddAllergy : Form { public AddAllergy() { InitializeComponent(); } private void pictureBoxhome_Click(object sender, EventArgs e) { inputPanel1.Enabled = false; this.Dispose(); MainPage main = new MainPage(); main.ShowDialog(); } } Is there anyway I could empty the call stack so that the stack overflo ...Show All

  • Visual C++ Help with variable/String

    hi i was wondering if anyone could help. i am using this small bit of code that will work only in the Event where it is placed but i want to be able to change the data that it holds throughout the program, im using MS VS 2005 C++ and here is the code String^ Species Species= "Dog"; MessageBox::Show( Species); I would like to be able to change the data in the String^ Species from anywhere and not just within the { }. can anyone plz help. thanks Hi, put it at the class level/scope instead of function level/scope: ref class A { private: String^ species; }; // you can change species wherever you want inside the class. If you want to change it from outside you'll have to create a method/property to change it: ref class A { publi ...Show All

©2008 Software Development Network