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

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

Mega_x

Member List

Kardi
modtran
HirenBarbhaya
arkiboys
Dave Perry
goh6613
Aleniko29139
pdns
Superchick
robertje
Evan Haklar
NotTaken
Vikas Dhevarshetty
swan_sgp
Henry_Yang
ktietjen
Bruce Baker
NetDragonKing
polymorphicx
smileyke
Only Title

Mega_x's Q&A profile

  • SQL Server help with outlook expres

    help with outlook expres ...Show All

  • Visual C# event in inheritant

    Hello, I am trying to create an event in inheritance class, but while I run it, the event TimeEnableEvent keeps getting error of being null. I would like to get help from the code below. Thanks a lot. Tammy namespace Hydra.Hardware { public class CameraSettings : ICloneable { public delegate void TimerEnableHandler ( bool value); //define timer enable event public event TimerEnableHandler TimerEnableEvent; protected void EnableTimer( bool value) {TimerEnableEvent(value);} } namespace Hydra.Hardware { public class Opto_LSM_1002A_CameraSettings : CameraSettings { public void EnableTimer1( bool value) { base .EnableTimer(v ...Show All

  • Visual C++ Passing Unmanaged Class by reference to Managed Class Constructor

    I have a MainForm. It has two child forms. The program reads in large SEGY files (2gb -> 100gb), appropiate data and read settings are stored through the class system that has a main controller "SEGY.H" & "SEGY.CPP". They a coded in pure C++. My two child forms are managed. I want to pass a reference for SEGY from the MainForm to each child form when they are required to be shown to the user, obviously to avoid copying large amounts of memory.   I cannot pass a native class by reference to a managed class through the managed classes constructor.  I have tried (code in mainform): private: SEGY *Segy;        //it then gets constructor call when filename is chose CHILDFO ...Show All

  • Visual Basic How do I completely unload a form?

    Hi all, I have a form that I use to get the user to input such as a username and password in order to make a network connection. This connection can be disconnected and reconnected as many times as neccessary whilst the application continues to run. I obviously, therefore, need the form's text boxes, combo boxes etc to reset to their blank versions every time that the form is shown. In VB6 this was easy; you just unload the form which completely removed the form from memory and thus the next time you showed it it was reset to it's blank state. In VB 2005, however, there is no unload so we have to use Close. I have done this and assumed that it would function in the same was that unload did in VB6. The problem is that when I c ...Show All

  • Software Development for Windows Vista Powershell -- where is grep?

    I want to look for regexp matches in all the files in a directory tree. In Unix I'd use 'grep --recursive'. Is there an equivalent command in powershell Or a different paradigm I'm missing --Andy maybe its just me but get-childitem . -include *.xsd did not work get-child .\* -include *.xsd however, did work. ...Show All

  • Windows Forms How do you use UseWaitCursor = true ?

    Hi, Idiot's guide required. Just how is that UseWaitCursor property supposed to work - or rather, why does it appear to do nothing I have a button click handler, it sets "this.UseWaitCursor" to true, and goes and instanciates a DLL hosted dialogue form with a biggo constructor. It takes a while. Nothing happens to the mouse pointer, which is still an arrow. I changed my code to use "this.Cursor = Cursors.WaitCursor" (like we always used to do guys !) and it's markedly better. I searched the net and this question appears in a number of places, with various plausible (but non-working) solutions, but there must be a reason why this doesn't appear to be as simple as it looks. Yes I did try Application.DoEvents (which, person ...Show All

  • SQL Server Unique Scenario

    Hi, I am faced with a scenario where I have to predict the time period that will required to solve a particular problem depending on various factors like Problem Type, Severity Level, Resource Availability etc. I would like to know which algorithm is best suited for the above scenario and the reasons for the same. Decision (Regression) Trees or Neural Nets should work for this problem. Both predict continuous values based on either continuous or discrete inputs. You should split your data into training and test sets and try each of them to see which predicts better. ...Show All

  • SQL Server Error on Associative Rules Viewer

    Hello, I don't know if this is the correct forum or if it would perhaps be the server setup & upgrade, however, I'll ask here first. I am going through the SQL 2005 data mining tutorials and have encountered an error that states: Query (1,6) The '[System].[Microsoft].[AnalysisServices].[System].[DataMining].[AssociationRules].[GetStatistics]' function does not exist. After looking around for a bit it appeared that this function is generally used in a stored procedure run from the server. Is this correct What do I need to do to either correctly import the function into the project or to make sure that it is installed on the server We are running the Ent Ed. now, however, we just upgraded to this after I had already starte ...Show All

  • Visual Studio Express Editions Display data From XML File to DataGrid Control ?

    Hello all, i'm new on .net. How to display(Read data) from file XML To DataGrid File Thanks for your answer. But i want to run my program on the pocket PC Application not on dekstop application. i founds the problem about the file directory what is your code can be run on Pocket PC Application ...Show All

  • Visual Studio Express Editions How can I show part of a picture(*.bmp) in a PictureBox?

    Hi, I have a BMP file that I scanned and now I want to show only part of this picture(file) in a picturebox. how can I do this Regards, yaniv pinhas Private Sub PictureBox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint Dim bmp As Image = Bitmap.FromFile("c:\temp\test.jpg") Dim rc As New Rectangle(100, 100, PictureBox1.Width, PictureBox1.Height) e.Graphics.DrawImage(bmp, 0, 0, rc, GraphicsUnit.Pixel) End Sub You probably want to keep "bmp" as a class variable so it doesn't get reloaded on every paint event. Adjust "rc" to show a specific portion of your scanned image... ...Show All

  • .NET Development File uploading problem with WebClient Class

    Hi I am trying to upload a file to the remote server by using WebClient Class but I am getting an error message like this... System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. Code System.Net.WebClient Client = new System.Net.WebClient(); string url = " http://192.168.4.45/ImageNowSupport/uploadImage/myNew.tif "; byte[] result = Client.UploadFile(url.ToString(), "POST", @"D:/Projects/MovedFromDashBoard/Service/Image0001.tif"); string s = System.Text.Encoding.UTF8.GetString(result, 0, result.Length); ...Show All

  • Visual Studio Permissions error when you try to debug an ASP.NET Web application in Visual Studio .NET

    Please see this article http://support.microsoft.com/kb/319842/en-us ...Show All

  • Windows Forms error trying to publish from vs2005

    I try to publish my application using VS2005, and below is the warnings I receive in the IDE.. Warning 1 Files could not be downloaded from http://dnbl291/TestForm/ . The remote server returned an error: (404) Not Found. 1 1 TestForm Warning 2 Unable to view published application at http://dnbl291/TestForm/publish.htm . 1 1 TestForm The problem for me was that I was not using the Fully qualified domain name of the server. ie server.domain.net etc so it was trying to go through the proxy server therefore the problem. Make sure you use the FQDN, and ensure you don't have to use the proxy. If you are forced to go through a proxy server you have a bigger issue.. ...Show All

  • Windows Forms Runtime loaded controls

    Hi everybody, I created a usercontrol witch contains a richtextbox (not only) where the height of that control Depends on the content of the richtextbox, bind to a table of a dataset. So each usercontol displays a row from the table as list in a groupbox with a vertical-scrollbar And I’m fine with that. But my problem is now, because the table could be a really big one – so I can’t bind them all at once, how to get the information when the usercontrol leaves the visible area of the groupbox. (I don’t want to use a 2. scrollbar to skip may be 10 usercontrols like pages at the time) Thanx a lot for hints ...Show All

  • SQL Server Problem with SQL Server 2005 Express

    Hello, I am programmer from Bulgaria and I am new in working with SQL server. I have a problem and want to discuss. Imagine that there is software system working on Windows XP professional, SQL Server 2005 express database, programs (source code on Microsoft C/C++) that connect to SQL Server 2005 express via ODBC and around 30 users that working 24 hours a day. For simplicity let imagine that in database have 2 main tables. In first table users add record. The program get value of certain field from that record and add that value to certain field in existing record in second table. (For example => imagine that in first table insert record for sell of some good /document of sell/ and in the second tabl ...Show All

©2008 Software Development Network