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

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

DiegoMC

Member List

thames
SLV
rocli
zdrae
drweaver
Dirk DC
Jonathan Rajotte
Vamsee Krishna
Johnny_Jones91
SillyMS
Frame
MichaelDugas
Vijay_s
4B7
cmarshall26
eric_o
progames25
ginnyK
Nassir
Jason D. Camp
Only Title

DiegoMC's Q&A profile

  • Visual Studio Tools for Office Outlook attachment file name change

    Hi All, I am using outlook 2000. While i open attachment with a click in outlook 2000, the file name will change. Example i receive a mail with attachment and attachment name MKM-100189 but when i open the file (just double click the icon of attachment bottom of mail) , the file name change to MKM-1001891. Why this case will happen Thanks Kendy Hi Anthony, Oops, sorry for my mistaken. Anyway thanks for the link given. Thanks Kendy ...Show All

  • Visual Basic adding panel control to newly created tabpage triggered by another tabcontrol's tabpages.

    I added 12 tabpages to the tabpages collection of the rightmost TabControl (in a splitcontainer) but found out I have to remove them all as soon as someone on the left tabcontrol selects a different set of tabpages. (Only a subset of the 12 are shown at a time) Given the following, how do I programmatically add a panel to a newly minted TabPage1 as per below Private Sub TabControlLeft _SelectedIndexChanged (ByVal sender As Object, ByVal e As EventArgs) _ Handles TabControlLeft.SelectedIndexChanged Select Case TabControlLeft.SelectedIndex Case 0 TabControlRight .Controls.Add(New TabPage("TabPage1")) TabControlRight.Controls.Add(New TabPage("TabPage2")) TabControlRight.Co ...Show All

  • Windows Forms DataGridViewRow.DataBoundItem throws IndexOutOfRangeException

    Hi, I have a DataGridView bound to a dataset and am trying to validate a row during the RowValidating event. I want to access the DataRow being validated and get its RowState, however sometimes when I call the property DataBoundItem I get an IndexOutOfRangeException! This exception is only raised when the RowValidating event fires from the user pressing a Delete button to remove a row. I can't see why this should happen - any help greatly appreciated! Here's the code in the RowValidating event: DataGridViewRow r = dgvRoles.Rows[e.RowIndex]; DataRowView drv = r.DataBoundItem as DataRowView; DataRowState state = drv.Row.RowState; The first line above executes fine and populates 'r' with the appropriate DataGridViewRow. The second li ...Show All

  • Audio and Video Development No sound with Windows Vista

    I have a Dell Inspiron E1705. I just downloaded Vista Beta and love it. Except for hot having any sound. My speaker volume is up and not muted. All updates are complete. I did a driver update and it gave an up to date message. Any suggestions Thank you for your time, BD Ive done what both of you guys have said to do.. ive attempted it about 10 times and ive still no sound what so ever.. any other ideas ...Show All

  • Visual Basic Command Builder GetUpdateCommand and Views

    I am working with a DataAdapter against a sql view which I would like to update. If I use a commandbuilder object against a view and for some crazy reason it decides to pull in the table name contained in the view for doing its update statement instead of using the view itself. My problem is I have a rather complicated view which is using Instead of Triggers. I don't see why a CommandBuilder should care about the internal workings of a view. It should simply build the update statement using the view name. Am I missing something here Example. View Name: dbo.PARCEL_VW PARCEL_VW = SELECT * FROM PARCEL Say I set the data adapter's selectcommand property = "SELECT * FROM dbo.PARCEL_VW", if I assign the dataadapter to a ...Show All

  • SQL Server Report of Reports

    Are there any example of SSRS reports using an rdl file as the source for the report. I.e. a Report of Reports Thanks Robert, I did find an article "Integrate XML into Your Reporting Environment" by Bill Wolff at http://www.ftponline.com/special/sqlserver/bwolff/ I will be looking for the upcoming MSDN Article. To elaborate more on my question...I would like to document my reporting service reports using reporting services. For example which property has custom code (e.g. IIF). ...Show All

  • Visual C# Text extraction -- This one will make you dizzy

    Hello, Let's say I have the following variables: string var1 = "5567 87865 4432 54535 6678 4435"; string var2 = "667 332 32 555677 4465 44444444"; string part_of_var1 = "4432 54535"; string xxx = String.Empty; I want to have in xxx: 32 555677! Notice that part_of_var1 contains the third and fourth parts of var1. I want to have 32 555677 in xxx var because it is the third and fourth parts of var2. I hope it's clear! Please help. Hi, I am not following what you mean by "same input". Did you modify the code from the example given, I can run the code sample without any compiler errors. The error you are getting suggests you put a return st ...Show All

  • Visual Basic Incremental Search

    How do I implement an incremental search in list/dir/combo/file boxes ...Show All

  • Visual Basic what happens exactly when we create a new instance and assign it to an existing.....

    what happens exactly when we create a new instance and assign it to an existing form in these 2 cases: 1/ if the form is not disposed like this: dim myNewForm=new myFormClass myNewForm=myExistingNotDisposedForm 2/ in the case of myExistingDisposedForm like this: myExistingDisposedForm.close dim myNewForm=new myFormClass myNewForm=myExistingDisposedForm what happens in memory in each case. Do we have two references or only one. What s the mechanism pls Thank you does the same thing happen if instead of dim myNewForm = NEW myFormClass I use 1/ dim myNewForm AS NEW myFormClass 2/ dim myNewForm AS myFormClass Thank you. ...Show All

  • Visual Basic datetimepicker control

    Here is my dillema, I am trying to create a function with a button to open a hidden datetimepicker, once the date has been selected then hide it again. I have no problem opening the picker from the button, but once date has been selected the textbox still appears. I have tried numerous ideas and think it is time to ask the panel to see if anyone has tried to do this before or knows the commands to do this. Thanks for your time Greg Ok .. well the code I posted earlier should handle that. In short ... On the click event of the button, set the date picker's visible property to True. On the date pickers value changed event, hide the date picker control using whatever logic is necessary to determine if ...Show All

  • Smart Device Development memory critically low

    i'm developing a device application for a pocket pc and when my application deploys in the device, i get this error "memory is critically low. you must select one task to terminate or increase the amount of program memory" i already did the increasing of program memory but still the memory is too small to run my application. and i can't delete/move any file using file explorer, because i haven't even stored a file besides my application. how to avoid this kind of error i really need help.. You should analyze your code to find and eliminate places where you use a lot of memory and/or forgetting to dispose of IDisposable objects. ...Show All

  • Smart Device Development HttpWebResponse close() hangs - Got it

    There have been a few threads on this, but I can't find a resolution or workaround. The HttpWebResponse hangs on the third connection if you don't close it, or hangs on the first connection when you try to close it. public void Test() { HttpWebRequest request = (HttpWebRequest) WebRequest.Create(url); HttpWebResponse response = (HttpWebResponse) request.GetResponse() ; Console.WriteLine("Trying to close stream"); response.Close(); Console.WriteLine("Stream Closed"); } if you comment out the Close(); you can get up to two connections. Anyone seen a workaround for this Thanks Hello Andrew, I can successfully and repeatedly make a single request, but I can ...Show All

  • SQL Server Join on subquery with distinct?

    Can someone give me some reasonable explanation why these two queries are performing dramatically different: First (slow): select tableA.column1, tableA.column2 from tableA join (select distinct col1,col2,col3 from myView) vw on vw.col1=tableA.col1 and vw.col2=tableA.col2 and vw.col3=tableA.col3 Second (fast): create table #tempTable (col1 varchar(200),col2 int,col3 varchar(200)) insert into #tempTable select distinct col1,col2,col3 from myView select tableA.column1, tableA.column2 from tableA join #tempTable vw on vw.col1=tableA.col1 and vw.col2=tableA.col2 and vw.col3=tableA.col3 SQL Server 2005 Express Win2K3 Server Regards, Marko Simic Without both to compare it is really impossible to say too confidently, ...Show All

  • Windows Forms Display multiple fields in a DataGridView cell

    Hi All! How do I display multiple fields (1 line per field) in a DataGridView cell... i need to display it like below:    Cell1    | Cell2 -------------------------------------------    ID       | Desc   Name      | Other Field  Address    | etc. -------------------------------------------    ID       | Desc   Name      | Other Field  Address    | etc. -------------------------------------------- Any help will be very much appreciated. Hi,CryptoKnight I write a sample for your information. First, set the DataGridV ...Show All

  • Visual Studio Visual Basic Debugger Crash

    I have just recently installed Visual Studio 2005 and in my GUI Design class we have opted to use Visual Basic. The problem I am having is that whenever I try to use the debugger by setting a breakpoint, everything goes well until I actually reach the breakpoint. When my program reaches the breakpoint, everything freezes up. I am unable to force quit the program or Visual Studio, or alt-tab to any other applications. The only thing I am ever able to do is bring up the task manager with ctrl-alt-del, but I am unable to kill processes or anything from the window, as it too freezes when I click on the window with the mouse. This is on a fresh install of Visual Studio 2005 on a fresh install of Windows XP Professional SP2. I have all the updat ...Show All

©2008 Software Development Network