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

Software Development Network >> M Minasi's Q&A profile

M Minasi

Member List

Claudes
el-chema
Jamie Thomson
KillerKryptos
msigal
Ilia
progames25
Sideout
GroZZleR
Maheswar
tReXx
ssfftt
SachaVDK
Emanuel Dejanu
kart
Edward1
Manjuramu
ZopoStyle
mayur8u
srinivasintouch
Only Title

M Minasi's Q&A profile

  • Windows Forms How to pass ab object between forms

    Hi, how Can I pass an object between 2 forms. For example if I have an object created in a button click event Form1 frm1 = new Form1(); MyObject obj = new MyObject() obj.Id= someintvariable; obj.Name=somestringvariable; frm1.MdiParent = this.MdiParent; //this is an MDI app frm1.Show(); how Can I send obj to Form1 so I can use it there Thanks There are several ways to do it. You can choose one of them as per choice or need: Suppose you have 2 Forms; Form1 and Form2; First you are trying to make a form an MDI parent but you are writing wrong syntax here is the right one... To make Form1 an MDI parent you need to set its property like this: See the properties of Form1 in PorpertyGrid and Set it ...Show All

  • Smart Device Development New devices with .NET CF 2.0

    Is there any information regarding ETA of devices with .NET CF 2.0 Can OEMs choose to release new devices with .NET CF 2.0 or do they have to wait for WinCE 6.0 for this Thanks, Shalin Shalin Dalal wrote: Is there any information regarding ETA of devices with .NET CF 2.0 Can OEMs choose to release new devices with .NET CF 2.0 or do they have to wait for WinCE 6.0 for this Thanks, Shalin Is there a reason you're looking for devices with .NET CF 2.0 OEM'd You can install .NET CF 2.0 on WinCE/Windows Mobile 5. Not certain about WinCE4 or Windows Mobile 2003, but I'm pretty certain you can install it on 2003 as well. ...Show All

  • SQL Server Child package ConnectionManager visibility

    Hopefully a simple question about parent-child package relationship. For this example, let's say I have a simple setup - one parent package: parent.dtsx, and one child package: child.dtsx. The parent package calls the child package via the ExecutePackage Task. If I add an OleDB ConnectionManager to the parent package called MySqlConnectionManager, should I be able to reference this connection via a script task (or custom component) from my child package I realize that I will have a problem doing this at design time, but I thought I could get around it with the script task or custom component. That said, when I look in the Connections collection at run-time from within my child package, I do not see the parent package's MySqlConnectionM ...Show All

  • Windows Forms flickering dgv

    hi i get flickering dgv with this code on my dgv, what can i do> thanks Private Sub DataGridView1_CellFormatting( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting Try e.Value = Me .CostingDataSet.Bill_Detailed.FindByBillID_Detailed(e.Value).AmountFC.ToString e.FormattingApplied = True Catch ex As Exception End Try End Sub Cache the value like how okay i can go by creating classes containing id and value that i then lookup, still at start initialisation will be slow to create the classes., thats the only solution i have in mind. anything else please let me know the search algorithm is directly ge ...Show All

  • Visual C# Master volume bar

    After hours of browsing and testing to find a solution to this, i finally throw my pride away and asks for help instead :P What i need is a trackbar to control the master volume, i found a couple of examples for this but most in the wrong language or too complicated for me. If anyone could help me out abit i would greatly appreciate it. Andy Hi, Andy I've tried it, and find it works well. Put the code in a new class library application and compile it. It will generate a dll file. Reference the dll file to your new winform project. In your winform, you can just use AudioMixerHelper.SetVolume(int) and AudioMixerHelper.GetVolume() methods in PhidgetTest namespace to set and get the m ...Show All

  • SQL Server SQL Profiler Scan:Stopped Event

    I am trying to improve the load performance of a data mart. It is setup with a standard 3 database ETL process (prestage, stage and mart). I am using Profiler to capture scan stops and identify any tables that may be having excessive full table/index scans. One table in the stage database has had 900,314 scan complete events in 37 minutes. This database has no user connections and the only process that is running is our ETL. All of the ETL is written in stored procedures which there are only 90 or so. The ETL process takes about 70 minutes so it has not completed and restarted during this time. The next closest event counts are in the 100,000 range, which still seems high. My question is what could be causing all of these tabl ...Show All

  • Windows Forms how to print a dataGridView

    Hi I want to print a dataGridView but when i try msdn's code(which is below) gridview is in normal size but records are very small and not in the gridview. How can i print dataGridView with records as seen in form private void printDocument1_PrintPage( object sender, PrintPageEventArgs e) { PaintEventArgs myPaintArgs = new PaintEventArgs (e.Graphics, new System.Drawing. Rectangle ( new System.Drawing. Point (0, 0), dataGridView1.ClientSize)); this .InvokePaint(dataGridView1, myPaintArgs); } private void bYazdir_Click( object sender, EventArgs e) { printDocument1.Print(); } I'd go with Uglydragon79 advise.. But take into consideration that the DGV might ha ...Show All

  • Windows Forms VB Express application - installation on Windows 98, 2000, etc.

    When creating an installation package for an application I've developed using Visual Basic 2005 Express Edition, how can I determine what .DLL (or other) files are required to be installed with the application in order for it to work on earlier versions of Windows (I'm using Windows XP, SP2 for development). My application uses Windows Forms and ADO.NET to access an Access (.MDB) database file, but is there a general answer to this question Thanks in advance John ...Show All

  • SQL Server Force Execution on Import -- Ignore Duplicates

    I have a simply SSIS package with following data flow structure: Flat File Source > Data Conversion > Aggregate > Dervied Column > Ole dB Destination Basically, this package is executed on daily basis to import sales from a text file into sql server. Now there's a possibility that text file may contain previous sales (occasionally). My sql table structure enforces data integrity through primary key and therefore my package errors out if there's a duplicate in text file which already exists in sql server. I'm basically looking for a way to ignore these duplicates and continue to import rest of the file. I need a way to force execution (suppress errors if possible) and finish importing all text file. I've tried mak ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I Too, Have A DX Problem

    My Computer keeps telling me that, due to d3dx9d.dll, d3d9d.dll and, d3dref9.dll, which are all Debug Versions, it's slowing down my computer. How can I fix this problem I enjoy playing games at Neopets and some of the games tell me that there are problems with, DirectX 9.0c. Can Somebody Help Me, "PLEASE" I have checked all the properties on these drivers and I get pretty much the same thing on all three, with the exception of the Drivers Names. Here is an example of what I get when I check them: Type Of File:     Application Extension Opens With:      Unknown application Location:           C:\WINDOWS\system32 Size:&nb ...Show All

  • Windows Forms Selecting text in textboxes

    Hey, I want to have the text selected when tab between them. I've tried the following but it doesn't work due to late binding. Private Sub OnEnterHandler( ByVal sender As Object , ByVal e As EventArgs) Handles textbox1.enter, textbox2.enter, textbox3.enter, textbox4.enter myTextbox = sender myTextbox.SelectAll() End Sub I know I've done this earlier but I can't figure out how I did. Please, can someone help me. I found out the trick... Dim myTextbox As TextBox = CType (sender, TextBox) myTextbox.SelectAll() ...Show All

  • Visual C# How do I force VS2005 to use NET 1.1

    I am working on a bunch of code that was written for NET 1.1 and will not work with NET 2.0 due to changes. It is looking like trying to fix the code to work under 2.0 is going to require more time then I have for this project. So the question is how I can force this code to use the 1.1 libraries instead Thx Joshua Baker Hi Joshua, see this thread: http://msdn.microsoft.com/newsgroups/default.aspx &query=vs2005+1.1&lang=en&cr=US&guid=&sloc=en-us&dg=microsoft.public.dotnet.languages.csharp&p=1&tid=ad4fbe28-efe6-4f86-b2ff-efcec547547a&mid=bcc05fa5-2876-4d7a-b440-1c4e15f4bc46 There is an addon called MsBee which may be able to help you out. Regards Mark. ...Show All

  • Visual Studio Tools for Office VSTO 2003 basics

    Hi, I am new to this and I need to know some very basic info about developing Excel application using .net. I am using VS 2003 and framework 1.1 and VSTO 2003. I developed a hello world excel application. In that I added some value in a cell of a worksheet and some basic stuff. The application I am trying to develop loads data from the database and populate excel sheet. After that I want to be able to get values from socket and keep on updating values in excel sheet. I also want end user to be able to use usual excel features such as adding new calculated cells to the worksheets, adding worksheets, changing cell color, sorting, Saving As e.t.c Is this possible if yes, then what would I have to deploy on user machine I ...Show All

  • Smart Device Development Problem Compiling Tutorial With VC++ 2005 Win32

    To Whom It May Concern, I have tried compiling the following tutorial program in Visual C++ 2005 Win32: #include "stdafx.h" #include "filetest2.h" #include <fstream> #include <iostream> #include <string> using namespace std; int main() { char FileName[20]; char EmployeeName[40], Address[50], City[20], State[32], ZIPCode[10]; // 1. Uncomment the following section to create a new file /* cout << "Enter the Following pieces of information\n"; cout << "Empl Name: "; cin >> ws; cin.getline(EmployeeName, 40); cout << "Address: "; cin >> ws; cin.getline(Address, 50); co ...Show All

  • Visual Studio 2008 (Pre-release) Setting foreground and background to be the same when a control is disabled

    Can someone suggest XAML code that would set the foreground and background of a control (say a TextBox) to be the same when it is disabled as it was when it was enabled. I mean if the Background was white and Foreground was Black when the TextBox was enabled, if the TextBox is disabled, the Background and Foreground should remain the same and not be grayed out. But the question still remains, the WindowBackgroundBrush is a custom brush. I do not want to use that but the default foreground/background color. The above sample won't work for my question. ...Show All

©2008 Software Development Network