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

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

maryz

Member List

Hila123
robertje
Delmonster
Dan L
Phill Midwinter
DMAR330
Ugur Umutluoglu
SOAC
MKBender
deMute
ti_m
Pete_M
David Törnquist
Paul Oulton
Jason D. Camp
PublicError
ron2464
Cookman
lingga
ramana reddy
Only Title

maryz's Q&A profile

  • .NET Development Com Visibility in VS2003

    Hi guys I have a web application developed in Vb.Net under VS2003. Now, a certain vendor requires us to build an interface dll that is "COM Visible". Since VS2003 has no option available in Project Properties to do this, how do I sort this out Sadly it took me considerable time and effort to realise that a dll developed likewise in VS2005 cannot be made to work with VS2003 ! Please help me with your suggestions/solutions. Many thanks Suhaib Thanks Andrew You've brought in a ray of hope Did you mean < Assembly : ComVisible( True )> btw Many thanks Suhaib ...Show All

  • Visual Studio Express Editions Adding to listveiw on another form?

    I am making an application which has a parent and several children. I have benn using VB6 for years but the higher object coding is getting the best of me. I have a listbox on "form1" form and would like to add to it from another form "form2". I want to add to it when some serial data comes in. I have made a public property on the "form1" to add the value tothe listbox but it does not work. Any help would be awsome.. Here is the property that i call from "form2" to add to the listbox. Public Property Listbx1Add() Get End Get Set ( ByVal value) ListBox1.Items.Add(value ) End Set End Property Nope.. Still nothing.. I wil gi ...Show All

  • SQL Server RDL Generator - How to Write Value for Textbox in Page Footer Using Globals.PageNumber etc

    When writing an attribute to create an RDL file entirely in code, I am attempting to set a textbox in the Report Footer to provide the "Page x of Pages" writer.WriteAttributeString( "Value" , "=Page " & Globals.PageNumber & " of " & Globals.TotalPages") The above statement produces an error message indicating that PageNumber and TotalPages are not members of Microsoft.VisualStudio.Globals. Any suggestions I came across the same problem. Try this writer.WriteElementString( "Value" , "=" + """Page """ & " & " & "Globals!PageNumber" & " & " & " ...Show All

  • Visual Studio Local Report - Adding Datasources Programmatically

    Using the LocalReport object you can add a datasource: LocalReport.DataSources.Add("myDataTable") I'd like to add DataSources to my report this way at runtime.  This is so my business objects can run out the the database, grab data, scrub it, and then pass the dataset to the Local Report. I can see how to add the datasource, what I don't understand is how to reference the datasource in my report.  Take a textbox, the value property is usually set this way: =Fields!myDataField I don't know how to bind data this way out of dynamically added datasources (datatables).  I tried: =Datasources(0)!Fields!myDataField That doesn't work - I thought maybe datasources was an indexed collection but apparently not ...Show All

  • Software Development for Windows Vista I have a problem..

    hi I am working in a project. Acc. to my scenario, a worker fills a form and then manager approve or reject the worker's request but after the worker fills the form, manager cannot reply the request immediately. The workflow should wait the response of the manager. How to do this break without a problem and how to continue the workflow from that point. Please help me. I wrote the following codes but CallExternalMethods activity do not see the interface type. why second, in izinTalepService , in the raiseFormEvent event, how I reach the instanceID in below code, the compiler give a warning about getting the instanceID . thanks namespace izinService { [ ExternalDataExchan ...Show All

  • Visual C# How can I Instantiate a dynamic array and still be dynamic after?

    Hello, I have a program which pulls config information in from a file. The files length will vary depending on how many items are configured in the application. the application stores the config information in an array while reading the file. since the file's length varies the array must be dynamic after instantiated. From all the information I have found I know I can prep a dynamic array but I cannot find any info on instantiating it dynamically. All the info shows is instantanting the dynamic array to a static one. anyone have information on keeping the array dynamic Either that or is there a way to determine how many lines in the file are left from the current Stream position It would have to be in lines, not characters. Thanks ...Show All

  • SQL Server certificate start date is tomorrow - how to make it today?

    Hi, I use MS certificate server to request/make server certs but the "not before", or start date is tomorrow for a 1 year cert. I dont care how long but I want the cert to start immediately (today). Regards, Simon. Sorry, this is not a SQL server problem but a CertSrv problem and I dont know how to specify these validity dates for it. Question reposted on " Security for Applications in Windows Vista " Thanks, Simon. ...Show All

  • Visual Studio Express Editions Item of 'Prerequisited' choose to install

    In 'Publish' of VB2005 Express , Item of 'Prerequisited' choose to install '.Net Framework 2.0' . I choose option ' Download prerequisites from the same location as my application' . Because I need to package within Publish package. (no need to use option 'Download prerequisites from the component vendor's web site' ) It shows error message 'The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\dotnetfx.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information' How can I fix this problem I can not tell which is right but if you need .NET 2.0 you can get it from this link http://www.microsoft.com/downloads/ ...Show All

  • Visual Studio Express Editions change your mousecursor

    When I click Picturebox1 i want my mousecursor to change in something else that I have made(I need a .ico file for this, yes ). How can I do this please Thx in advance. Project + properties, Resources tab. Click on the arrow of the Add Resource button, Add Existing File and navigate to your icon file. Rename it to "MyCursor". Now you can change the mouse cursor on the Click event with code like this: private void pictureBox1_Click(object sender, EventArgs e) { pictureBox1.Cursor = new Cursor(Properties.Resources.MyCursor.Handle); } private void pictureBox1_MouseEnter(object sender, EventArgs e) { pictureBox1.Cursor = null; } Note how I added the MouseEnter event to ensure the ...Show All

  • Visual Studio Team System TF doesn't recognize "setnoprompt" command?

    I'm trying to use a command file to perform some tasks with TF.exe. Since I want this operation to be interactive I'm trying to use the "setnoprompt false" command listed in the documentation for TF, but when I run my command file I receieve the error " Unrecognized command: setnoprompt ". This is the content of my command file: setnoprompt false merge /recursive /version:C288~C288 $/Test/Dev $/Test/Branch1 When executed the setnoprompt command generates the error mentioned above and the merge command executes without displaying any dialogs (which I don't want since it generates conflicts that needs to be resolved) What am I doing wrong here Hello, unfortunately setnoprompt was removed from TFS RTM ...Show All

  • Software Development for Windows Vista Customizing Vista Desktop

    Hello: I came across the OOBE.XML in Vista that enables customizing the Windows Welcome Center and wallpaper etc during Vista Preinstallation process. I would like to know if this is possible post-OS via APIs, modifying the OOBE XML file etc i.e. Once vista is installed, I would like to run my application that will provide the user the mechanism to select the path to the custom wallpaper and set it through my application. Essentially I would like to do post-OS whatever is enabled today using the OOBE.XML during the preinstallation phase. Thanks PS: I posted the question in the Technet group by mistake and reposting this here. I see on expectation that the OOBE file would be used for anythi ...Show All

  • Visual Studio Express Editions vb express code snippet problem

    I am trying to work through the "Visual Basic 2005 Express Edition for Dummies" book. I have installed VBE on 2 machines. Both seem to have corrupted code snippets. This is all I get when I insert the code for the mortgage calculator: Dim futureValue As Double = 0 Dim payment As Double payment = Pmt(0.05 / 12, 36, -1000, futureValue, DueDate.EndOfPeriod) Shouldn't there be more Am I missing something Thanks. It is possible that the book writers had some 'beta' or pre-release information/files from Microsoft that got changed before the release of VB EE. Maybe Microsoft re-thought how snippets would be used and trimmed them all down. ...Show All

  • Visual Studio Team System TFS SP1 on SQL Cluster Failing

    Hi, Has anyone successfully install TFS SP1 where the TFS DT in on a clustered SQL Server I had the Beta SP1 installed and successfully removed it from the DT, but when I go to install the RTM SP1, the install is hanging on quiescing the databases (as part of KB919156). I’ve enabled verbose logging and the only thing that shows up in the log is that the DB quiesce begins (12/25/06 09:05:38 DDSet_Status: Commandline: "C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup\TFSQuiesce.exe" /n:"Quiesce DT") and then never completes. I’m fairly certain this is related to the fact that SQL is clustered, but have been unable to find any articles or blogs that address this scenario. ...Show All

  • SQL Server SSIS Data Flow task fails to load all text from flat file

    Hi Guys, I have a flat file which is loaded into the database on a daily basis. The file contains rows of strings which I load into a table, specifically to a column of length 8000. The string has a length of 690, but the format is like 'xxxxxx xx xx..' and so on, where 'xxxx' represents data. So there are spaces, etc present in the middle. Previously I used SQL 2000 DTS to load the files in, and it was just a Column Transformation with the Col001 from the text file loading straight to my table column. After the load, if I select len(col) it gives me 750 for all rows. Once I started to migrate this to SSIS, I allocated the Control Flow Task and specified the flat file source and the oledb destination, and gave the output column ...Show All

  • Visual Basic Closing rtf files

    I am wondering what is the correct way to close an rtf file in a program Currently the way that I do this is by clearing the rich text box and clearing the file name from the string variable that holds it. Thank you for your help, you have already answered my question. I'm using RichTextBox1.savefile("file1.rtf"). I did not know that the file automatically closes after execution, but now I do . Now Hopefully I can get this huge program to display lyrics on a projector done by thursday morn at most. ...Show All

©2008 Software Development Network