Software Development Network Logo
  • Architecture
  • Windows Forms
  • Windows Vista
  • Smart Device
  • Game Technologies
  • SQL Server
  • Visual FoxPro
  • VS Team System
  • Visual C#
  • Windows Live
  • Microsoft ISV
  • Visual Basic
  • .NET Development
  • Visual J#
  • Visual Studio

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

Mahla

Member List

RonInOttawa
Shady-Potter
MattMattMattMattMatt
j0h4n
devjam
adolf garlic
Casual Jim
StyrofoamSUV
Alexis Valle
Marcin Belczewski
StanStandard
Ravengaard
JRH77
baroqueimpressionist
kavijay
chriswillis
Blair Cahue
William McIlroy
SirLiahona
GregorHagedorn
Only Title

Mahla's Q&A profile

  • Smart Device Development Working with multiple forms and using form text

    Hi All, I am working with multiple forms form1 and form2, I have added form text to each of the form. On a button control in form1 I have added the below code, which loads form2 and hides form1 but in the taskmanager it shows both forms at the same time. I have tried using an empty text in form2 and it works. Is it possible to show the form1 text on the top of the titlebar in form2 when it is activated instead of empty titlebar. Dim frm1 As New frmMain frm1.showdialog or frm1.show netcf v2 added support for "owned dialogs". In the code below, when I set the Form.Owner proper ...Show All

  • Visual Studio 2008 (Pre-release) IEnumerable enhancements

    So what happens if you try querying over a generator that doesn't have a finite length   For example: from n in Integers...   Probably not a good thing. What happens if you have a sequence that you want to get the length of   Sometimes you can't, without pulling all the data ahead of time.  Sometimes, you can't because the sequence (such as Integers) is infinitely long. Could the definitions of IEnumerable, IList, etc, be written to include such information   I'd propose some interfaces: IFiniteList -- marker:  the list has a finite number of elements IBoundedList -- provides Length, which is known ahead ...Show All

  • Visual C++ Pass XML File as (unsigned char %data, int length)

    Hello Everyone, I have an XML File, which I read from disk...If I want to pass it to this function how should I do it... Write(unsigned char %data, int length)..... I have a little bit of idea that I have to read my XML File as stream and pass it to unsigned char %data, if someone can give me a code snippet how to do it... Thanks, Harsimrat So will it be possible I can read the XML file in some buffer and change it to unsigned char*, if yes, can you give me a small code snippet how to do that... Thanks, Harsimrat ...Show All

  • Windows Forms trying to get code for populating dropdownlist with current monthyear upto previous six months

    hello all, Please help me code a dropdownlist that holds information on month-year that is current upto previous six months. eg. this month with year is : september 2005 so i want my dropdownlist to filled up with months upto april 2005. Thanks!!!! DateTime now = DateTime .Now; DateTime sixMonthsAgo = now.AddMonths(-5);  // The current month (now - 0) counts as the first, hence now - 5 DateTime i = sixMonthsAgo; while (i <= now) {     Console .WriteLine( "{0}/{1}" , i.Month, i.Year);     i = i.AddMonths(1); } ...Show All

  • Architecture Security for web application

    hello all I am not sure where exactly to start looking. We are starting a new asp.net 2.0 project. the project is a big web site that will have to authonticate its users ( basic authontication) and authorize all his actions. another requierment is personalization of site based on the user. I am new to dotnet 2.0 but I found two leads : Enterprise Library "Security Application Block" and membership and role providers . can anyone give me a lead. which one should I try first Well, in www.asp.net you have some examples to view how to do all of that directly with ap.net 2.0. I don't know if security ...Show All

  • SQL Server Help on replication from SQL 2005 to DB2/AS400

    I was trying to set up a replication process to move data from SQL 2005 to DB2/AS400. To get it started, I have create a simplest table (say, PERSON) on SQL 2005 server, and the same table (PERSON) on DB2/AS400. I have only one column SSN (of type int). I have journaled the table on DB2 end. I was able to have successfully configured publisher (on SQL 2005) and subscriber (i.e. a pushed subscription). I used transactional replication. And I also installed HIS 2004 to have DB2OLEDB ready. I was able to use query/insert/delete against table on DB2 based the linked server (that I created for testing purpose). I did a lot of reading on t ...Show All

  • .NET Development How to make a VB.NET DLL for use in VC++??

    Hello, I am making a DLL in VB.NET for use in a VC++ app. I can't figure out how to code the properties and methods so that they can be exposed in the C++ program. Also I am VERY new to C++ so I don't know how to use the VB.NET DLL once it's compiled. I started a new Visual Basic class library project and here's the code in the class module: Public Class VBTestDLL     Public Property TestProp() As Integer         Get             Return TestProp         End Get      ...Show All

  • Visual Basic How do I load a picture from resource file into a picturebox?

    -Visual Basic Express 2005- I have a resource file and have included all my images into. I need to load hundred.jpg into a picurebox when a certain event occurs. I hope to get the simplest line of code possible to do this Can anyone please help Thanks in advance :) PictureBox1 .ImageLocation = "C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\ Project Name \ Project Name \Resources\hundred.jpg" The italicized Project Name should be replaced with the name of your project file, as should PictureBox1 be replaced with the name of the picture box. I pulled all of this from memory, so if t ...Show All

  • SQL Server May I have my attributes discretized based on my own expression?

    Hi, all here. I am just having one question about discretization of continous attributes values. Cos the current discretization methods available in SQL Server 2005 data mining engine are these 3 ones: ....................................................................................... automatic; equal areas; clusters. .......................................................................................... So how these 3 methods work respectively I mean like clusters method, how dose it discretize the continous values More importantly, can we have a discretization based on our own expression like when i have one ...Show All

  • Visual C++ Almost got it!

    I am making a game from the Digipen ProjectFun FunEditor program and compiling it though Visual C++ 2005. It compiles but not an .exe, and says it cannot find the file when I try running it. This is what it says in FunEditor: Failed to execute: <file.exe> The following error was reported: The system cannot find the file specified. On the Visual C++ compiler: Build Log Build started: Project: Brick Game, Configuration: Debug|Win32 Command Lines Creating temporary file "c:\Program Files\DigiPen\FunEditor1.5\Library\Data\Debug\RSP00000418524044.rsp" with contents [ /Od /I "C:\Program ...Show All

  • Visual Studio Where's the Help Integration Kit 2005

    I briefly tested the Help Integration Kit 2003 in VS2003. Now I've updated to VS2005 and would like to integrate my library docs with MSDN, but don't know how. Help 2 seems to be a bit of a secret since there's precious little information available. One MSDN article directed me to the Visual Studio Extensibility Center but there's now info on Help 2. Does Help Integration Kit 2005 exists and if so, where can I find it If not, how can I (easily) integrate my own docs with MSDN OK, finally managed to download the SDK (huge problems signing in). HelpSudio Lite seems like an excellent app. Even importing my ...Show All

  • Visual Studio Tools for Office building solution containing VSTO on CruiseControl.NET?

    I'm trying to build a .NET 2.0 solution containing VSTO on CruiseControl.NET 1.0. I have the .NET 2.0 SDK installed and regular .NET projects build fine using msbuild. .NET 1.1 solutions with VSTO for VS2003 build fine as well. The 2.0 VSTO project fails because a number of files are missing. Fair enough, but there doesn't seem to be a VSTO SDK I could install. The VSTO runtime does not contain all the files required to build and I cannot install VSTO itself because there's no Office on my build server (it should be as clean as possible). I started by copying all the files it complained about, but I end up with an error message : C:\Pro ...Show All

  • Visual C++ Mouse click and color

    I'm currently using Visual C++.net 2003 version. Let's say I've displayed a color spectrum pattern from a bitmap  file on a windows form. So, from left to right, the color  transitions from red to orange to yellow to green to blue to indigo to violet. Now let's say I need to be able to left click anywhere on that color spectrum and determine what the color (or Red-Green-Blue combination) is where I've clicked. What I mean is, I can gather information like the x position and the y position of the pointer, but I need to know what that color is right there. The position of the mouse doesn't do me any good because the RGB c ...Show All

  • Visual C++ Strange Clock Skew problem

    I've been trying to track down the problem causing this to happen but am at a lose as to where else to look. Maybe someone here can point me in a new direction. Here's the problem. During normal business hours, the server's clock is skewing by multiple seconds per hour. It sometime skews forward and sometimes backward. After 8 hours, the clock is sometimes off by minutes, and it appears random as to if it's fast or slow. But while the application is not running, the clock does not skew. My application runs on a dedicated server. It is C++ unmanaged code with lots of threads (100s+) all reading and writing to 1000s of files simultaneous ...Show All

  • Visual Basic specifying relative folder paths

    Hi -- I've built a simple Windows application with VS2005 and I'm having a problem with specifying folder names. My application folder has a subfolder called Images and I reference this folder in my code like " ../Images ". (Notice the double dot in order to go up and out of the bin folder and into the Images folder. Now when I deploy my application, the user will not be running the application from the bin folder so using the double dot will result in a file-not-found error. How do I specify the correct path no matter where the application is run from Should I create an Images folder as a subfolder from the bin folder I ho ...Show All

©2008 Software Development Network