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

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

MartinMalek

Member List

Sugan
sennekeennes
haydendo
Robert Shurbet
ofireps
Bill Partridge
Kevin Barnes
Chimme
Ludwig Xu
Vijay Chegu
Khalnayak
Praveen.Yarlagadda
Buddy Funny
MadMojo1
webbda
Mr.V.
Chris Jiang
cpaesano
IBRAHIM ERSOY
yogb
Only Title

MartinMalek's Q&A profile

  • Visual Studio Express Editions Where was the ojbect created?

    Hi all, I am a new guy in MFC, There is a code like this. class CScriptDemoDlg : public CDialog { protected: CScriptObject m_ScriptObj; } CScriptDemoDlg is the Dialog class, it uses CScriptObject. But when i search the whole project , i can't find the place where m_ScriptObj was initialized. Don't we need initialize it or..... Thanks for your reply. You don't need to initialize it because it's not a pointer and it has a parameterless constructor (because otherwise the code would not compile) which is called when the CScriptDemoDlg object that contains it is created. ...Show All

  • SQL Server Installing SQL Server 2005, Detecting Installed IIS

    When trying to install SQL 2005, the installation halts at "Detecting Installed IIS". From a previous forum discussion I tried disabling Norton Anti-Virus and Firewall, but the install still does not get past this point. Please help. I did get SQL 2005 installed! After Sam looked at the log files and could not find anything out of the norm, I made sure my machine met the requirements. With that I reinstalled .Net 2.0 and removed .Net 1.1 from my machine. Whether it was the reinstall of 2.0 or the removal of .Net 1.1; the install went without a hitch. I also did disable my firewall and anti-virus for the install. ...Show All

  • Visual Basic Convert a string to decimal (where punctation is [,] instead of [.])

    I am converting a string to a single, but I don't get the expected results when converting a string where the punctation mark for the decimal is comma. lets say the text is 6.5 Dim sngMyNumber As Single sngMyNumber = CSng(txtInputA.text) The result is the single number 6.5 .. SUCCESS :) But when the text is 6,5 (which would be a common punctation mark for my application) Dim sngMyNumber As Single sngMyNumber = CSng(txtInputA.text) The result is 65.0 and not 6.5 which I expect. Is there any way to instruct VB to handle [,] in the same way as [.] when converting strings to numbers I could of course handle the string before conversion, and replace any [,] with [.]. Before I do this, I'd like to know if there is any 'standard' wa ...Show All

  • Smart Device Development How do you set the width of a column for a DataGrid in C#?

    Some columns are too narrow by default som characters are hidden. How do you set the column width in NETCF In full framework I did: dataGridView1.Columns[0].Width = 200; But in Compact Framework there is no Columns property for DataGrid (in this manner dataGrid1.Columns[0].Width ). http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=512949&SiteID=1 ...Show All

  • Windows Forms VS 2005 Setup Project RadioButton dialog

    How might I set values in the app.config based on a 2 RadioButton dialog in a setup project Where is the documentation that supports customizing the UI in a setup project Thanks! ...Show All

  • Visual C# Problem with Sockets

    Hi buddies, How are you !! I got the following problem while i am developing a chat software My software consists of two parts: Server Client each in a seperate project, and each works very well when they are working alone, but when i try to test my application -I run the server then the client- i got the problem that when the client create the TcpClient object i got this message: Only one usage of each socket address (protocol/network address/port) is normally permitted I think that is because i use the same port number for both applications but this is the only way to run both applications on the same machine. the short version of my question is: How can I start a TcpListener and a TcpClient on the ...Show All

  • SQL Server Sql2005 standard to Sql2005 enterprise edition

    Hi We have Sql2005 x64 bit standard edition server installed in windows 2003 64 bit editio server, currently due to buisness requirements we need to have sql2005 x64 bit enterprise edition, please let me know how do i do the upgrade or change. is it possible to retain all our custom settings in the standard edition after changing to enterprise edition. This has to be done for our production and very critical, please help Thanks Samuel I You can launch enterprise edition setup.exe with SKUUPGRADE=1 parameter. This will conduct an edition upgrade. It will retain the settings of your current dev edition. To do this, goto cmd prompt, nav to to where the setup.exe is and run setup.exe SKUUPGRADE=1 In the UI, ch ...Show All

  • Software Development for Windows Vista Get MPEG2Demultiplexer PID Info in C#

    This is my first post here so I hope i'm doing everything correctly. I have a BDA DVB-t app that i'm working on. i am adding a second MPEG2Demultiplexer via an InfTee. I add a Multiplexer and a dump filter to be able to record. I have created the Video and Audio pins and am able to use MAPPID for the pins. I have looked everywhere for information on how to get the current Video and Audio PID info from the first MPEG2Demultiplexer so as to map the second but have only found C++ info. they use QueryInterface i believe but i'm not sure what the equivelant is in C#. or is there another way in C#. I have also used the PSIParser filter connected to a third MPEG2Demultiplexer without success. Any help would be great. Have you lo ...Show All

  • Visual C# Accessing an array from an event handler

    Hi, I am working on a project with wav files at the minute. I want to use a radio button so that when you click the button the next sound file is selected from the array and played after a 1 second pause. I can get the sound files to play from load or when i have a button and specifically hard code the file address but i would like to use the array to get the file locations. The code is as below: I set up the array putting values in wavfiles[6 ] = elemds.Tables[3].Rows[i ].ItemArray[3].ToString().Replace("\\", "\\\\"); and then on the radio button click i thought i could use  private void radioButton1_CheckedChanged(object sender, EventArgs e)         {          ...Show All

  • SQL Server Transaction log growth during Maintenance Plans

    During my maintenance plans every night, my transaction log for a 17GB database grows to about 9.5GB. I am running transaction log backups every 2 hours, and my transaction log stays around 300MB during the day. However, every night when the optimization job runs, this explosive growth occurs. I have the optimizations set to Reorganize data and index pages, changing free space to 10%, and remove unused space from database files to 10%, shrinking when they grow beyond 50MB. This database handles cash register operations which are not active during the maintenance plan. Hi adgross , I got the same problem as u. I have no idea how to get rid of this. Besides, I can't even change the FULL recovery mode ...Show All

  • Windows Forms Access table function with DataGridViewComboBoxColumn in VB.NET

    I battle to modify any of the many samples of the DataGridViewComboBoxColumn's use, to work for me. If the Auther of VB for DUMMIES are out there, please HELP! I am using VB and an Access database. I try to generate as much code as possible with built in methods, like dragging the parent and child tables to the form from the datasources tab to get my datagridviews setup correctly etc. In this example I have four related tables with only two visible to the user. The function of the form is to allow the user to enter parameter values for products. Each product is of a certain type, and the type dictates which parameter values are applicable. So, the user only see the list of products in one datagridview and the list of applic ...Show All

  • Visual Studio Express Editions Upgrade from VB 5.0

    How can I upgrade my VB 5.0 files to VB Express edition. Since it contains quite a few images, I would like these to remain intact. Thanks a lot in advance... Try opening the project (.vbp) in VB Express. The Upgrade wizard will walk you through the upgrade. The larger the project, the more work that may be necessary to fix any and all errors and warnings in the project. The images that already exist should upgrade OK. ...Show All

  • SharePoint Products and Technologies ReadOnly Fields in a WebPart

    Hi, this is my first post, and sorry for my awful english... I'm developing two webparts, which work connected, the provider has a GridView (reading the data from a SQL database), and the consumer displays the detail of the selected row in the consumer's gridview... The consumer has a button which saves the displayed information into a sharepoint list... I need to use textbox controls to display the data, but when i set them in readonly, or enabled = false mode, they clear their contents before any event... Here is the code... http://gianni.gellona.googlepages.com/Reclamos.cs.txt Have you tried leaving the textboxes enabled in CreateChildControls and disabling them only after the text has been set Try disabling them after LessSuscr ...Show All

  • Visual Studio Tools for Office Serialise Building Blocks and 'load' them while 'online'

    Visual Studio in conjunction with Word 2007 gives great opportunities to automate building of documents from XML 'components', but it all seems only possible 'offline', i.e. when the document is closed. I would like to get XML fed into the document (or attached template) while it is open, for example, to update not just content, but also the structure of the document at a user's request, interactively, for when a brand new disclaimer is developed and the user decides to adopt it. Currently, XML properties are read only at runtime and building blocks can only be .Added from ranges (i.e. 'recorded like old autotexts). Can anyone please correct me if I'm wrong or let me know of a possible solution Thanks so much for any help! ...Show All

  • SQL Server How to connect to Analysis Services with Excel 2007 Data Mining Add In?

    I downloaded a trial version of office 2007 and the data mining addin. I do not have an automatic connection to Analysis Services, so most functionality does not work. Is it possible to configure a connection with a trial version If so, does anyone know what the server name is and how to configure it There are a few possible reasons: - is SQL Server Analysis Services 2005 running on the local machine (run "services.msc" from a command prompt and look for a services named "SQL Server Analysis Services") - is AS running as the default instance or as a named instance In services.msc, a default instance would appear as "SQL Server Analysis Services(MSSQLSERVER)" A na ...Show All

©2008 Software Development Network