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

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

Bigwave

Member List

Caliendo
GROTH
BobishKindaGuy
Ahmadreza
The Eagle
Rykie
Noel Muhleisen
Jassim Rahma
Ying06
John Cuthbertson
Christian Sciberras
clint 2
AndyL
GAtkins
SPWilkinson
dophine
archimed01
h1
CSharpNewbie22
Mauro_Net
Only Title

Bigwave's Q&A profile

  • Windows Forms Remote Debugging in ClickOnce Application

    I have a windows forms application deployed using Click once. Whenever user is accessing that application and running that i want to debug that application from my server by putting breakpoints at particular line in a particular form. How can i do that Gaurav ...Show All

  • Visual Studio Express Editions some (n00b) questions

    ok sorry if it are stupid questions :( but atm theyre important to me :P 1) how do i create random numbers 2) im making a game atm and with the random numbers i want that everytime the number in the label changes(with a timer), there is a picture in the picturebox(so for example when nr1 is in the label i want a pict of a dog in the pictbox, when nr2 of a cat) without using whole time if label1.text is 1 then dog pict appears, if label1.text is 2 then cat pict appears... 3) is there maybe also some nice learning guide or something for C# (not the video one, i want to learn it at my own speed ;) (yes the video one goes to slow)) thx in advance to create Random numbers, you would use the Ran ...Show All

  • Visual Studio 2008 (Pre-release) Child table not updating correctly?

    I have a person object, which has via a foreign key an address table attached to it in the LINQ designer. The address table has an addresstype which comes from a types table via a Foreign Key as well. When I create an instance of a person, and check the first address typeID I get a value of 4. Via my interface I change the value to 6 (a valid value in the types table), I can query the Address object and it will tell me it's set to 6. However, once I commit the changes via DBContext.SubmitChanges() the value rolls back to 4 in my local instance. I see not Exceptions being thrown.. and I'm just wondering if there is a bug somewhere in LINQ that isn't allowing the sub-tables for a given object to be updated properly Thanks. Jim ...Show All

  • .NET Development Browse image's pixel

    Hi, I have to get the value of each pixel of an image to do some comparaison. I used the class Bitmap and i loaded a 800x600 image. It takes me 20s to browse all pixel. (i used the method getpixel in a double for statement) I want to know if there is a class, or an other method to do this faster (around 1s would be perfect) Thanks David Unfortunately J# doesn’t support unsafe code on its own... is there any chance that you could build a C# class (in a separate assembly) to do the unsafe work you need and then access it from your J# code ...Show All

  • .NET Development Loading an Xml Document from a string variable

    My application saves an entire Xml document content in a database field declared as Nvarchar(MAX). I attempt to a load a new Xml document using the string stored in a database. The field containing the Xml string is returned by a stored procedure: string xmlField = (string)returnedData["dbXmlField"]; XmlDocument xdDoc = new XmlDocument(); xdDoc.Load(xmlField) xdDoc.Save("C:\Test.Xml") If I attempt to save the Xml document (xdDoc) I come up with ' Unrecognized escape sequence ' error message. None of the XPath queries work either. The reason for this problem (I suspect) is that all doubles quotes in the string have been escaped by "\" such as: "< xml version=\"1.0\" encod ...Show All

  • .NET Development return generic collection from webservice

    Webservice returns a method of generic collection type i.e. List<MarketValueTypes.Forward> i.e: [WebMethod()] public List<MarketValueTypes.Forward> MarketValuesForwardsGet(int intMarketValueTypeID, int intIndexID, DateTime dtDateValue) { try { return Business.MarketData.MarketValuesForwardsGet(intMarketValueTypeID, intIndexID, dtDateValue); } catch { throw; } } from the client side i.e. form, I would like to retrieve the collection. This is what I am doing private void btnMarketValues_Click(object sender, EventArgs e) { List<MarketValueTypes.Forward> forwards = null; int intMarketValueTypeID = int.Parse(cboMarketValueTypes.Selected ...Show All

  • Visual C# Huge memory build-up when we have STAThread in console application

    I have a C# console application. this is pertaining to AD. the purpose of the application is to display the child objects inside a container. the container has around 50000 objects. i get the details of the container using the DirectoryEntry class. the dirEntry.Children gives the details of the children inside the container. the program snippet is as follows. AD_Display.cs with System.DirectoryServices added as a reference namespace AD_Display { Class program { [STAThread] Static void Main(string []args) { DirectoryEntry dirEntry = new DirectoryEntry(“LDAP://localhost/CN=xyz,DC=<domain>,DC=com”); foreach (DirectoryEntry childEntry in dirEntry.Children) { ...Show All

  • Visual Basic Please make the VB.NET class public

    Hi All, I have a peculiar kind of issue after converting VC and VB code from Visual studio 6.0 to Visual Studio 2005. We have the business logic in the VC code which uses the ATL framework and implements a COM server. VB code gives the GUI part of the project, For reporting custom errors like invalid login, we use AtlReportError method to report error from the VC code side. While utilising the built VC dlls(unmanaged code), using VB 6.0 applications, we get the Error message text( like in the case of failed login), exactly as we require. But while utilising the VC dlls in a VB 2005 application, instead of getting a error message we see "Exception from HRESULT : 0x8004B411". I do not know the reason cause for dis ...Show All

  • Microsoft ISV Community Center Forums OUTLOOK When trying to open Outlook, I get the following:

    Microsoft Visual C++ Runtime Library Runtime Error! Program:C:\Progra~1\Micros~3\Office10\OUTLOOK.EXE Any ideas Thanks my outlook express will not accept my password and my email address!!!!!!!!!!! (ddilabio@hotmail.com ) ...Show All

  • Windows Forms set flag to listbox item that retrieved from registry

    hi all, i have a list box conatins list of items retrieved from registry. and i have to add some new items to list manually. after that i have to parse accordingly. i need to put flag to items those i got from registry. Note: there should not be difference in the visibility of items . thnaks and regards ranadheer Hi, There are multiple possibilities. You could keep track of the items from the registry by using an external data structure: List< string > m_fromRegistry = new List< string >(); if (m_fromRegistry.Contains( listbox.SelectedItem ) ) { //from registry } else { //not from reg } You could also create a ListBoxItem class: class ListBoxItem { private strin ...Show All

  • SQL Server Dual core dual processors AMD opteron270

    Will vista run dual core dual processors ie AMD Opteron 270's on an asus workstation motherboard If so to what extent.. will 32 bit programs run side by side with 64 bit programs.. TIA ...Show All

  • SQL Server Use an ActiveX module from a view/stored procedure?

    I was wondering if it is possible to use an ActiveX module from a stored procedure or view I have a table that contains some biochemistry, in particular, glucose and insulin as floating-point values.  I have an ActiveX module (as a DLL) that takes these two values and returns some measures of insulin resistance.  (I didn't write the module - it is available (without source code) from a university). The university provided a spreadsheet that does what I want to do.  I am wondering if I can use the ActiveX module and the function in the spreadsheet in a view in my database instead. Here's how you'd convert glucose and insulin in the spreadsheet: =HOMA2_Insulin(A1,B1) And here's the source code of the function th ...Show All

  • Visual Studio Express Editions How to display the function of the button when the pointer hover over the button?

    Hi, i was trying to figure out how to display the function of the button when the pointer hover over the button I believe you maybe referring to a tooltip. On a button in designer view, select it to bring up its properties. Select the events icon (lightning symbol) Look for "MouseHover" and double click on it to create a mouse hover event. This will take you to code view In this event, type the following:   ToolTip theToolTip = new ToolTip() theToolTip.SetToolTip(this.theButton, " text here ");   of course, replace "theButton" with the appropriate button variable   does this help   ...Show All

  • .NET Development parameter Array in Stored Procedure

    Hi, my english not so god, so i try to explain. OI, I know that is impossivel to order an ARRAY like parameter for a STORED PROCEDURE. I am reading on CLR STORED PROCEDURES and I would like to know if it works if i create a CLR STORED PROCEDURE receiving an Array like parameter And , this Stored Procedure can be called an application JAVA Something like: let us say that the CLR STored Procedure receives one parameter ARRAY and I in JAVA it orders to execute to be STORED PROCEDURE passing an Array of JAVA. Thank’s It won't work that easily. SqlClr stored procedures only map a limited number of clr types (the core CLR value types + the SqlTypes) to corresponding Sql Server types. Arrays of chars and bytes are supported, m ...Show All

  • Visual C++ Extending CEdit problem

    Used Class view to Create a new Class: class CEditEx:public CEdit. Without doing anything further an attempt a complining gets the following results: EditEx.cpp(12): error C2440: 'initializing' : cannot convert from 'size_t' to 'LPCSTR' EditEx.cpp(12): error C2440: 'initializing' : cannot convert from 'CRuntimeClass *(__stdcall *)(void)' to 'CObject *(__stdcall *)(void)' Everything is pointing to IMPLEMENT_DYNAMIC and is microsoft implemented code. Can someone explain what is going on. When I attempt to add a new variable to the project dialog the new variable type isn't shown. Thanks for any help MtEvans There has been 10 views since this post with no response... Maybe this need ...Show All

©2008 Software Development Network