RickGaribay.NET's Q&A profile
Visual Studio Team System Web Test don’t record requests after few steps
Hi, I am trying to create web test to automate online application process and Web Test don’t record requests after few steps. For Example Step 1: www.flexcar.com record Step 2: Click on apply now record Step 3: Click on next step ( Doesn’t record any request beyond this point) I tried to use Fiddler to get request, and I get these urls http://www.flexcar.com/WebResource.axd d=3fRdxPAx6QE_ZBLFCvja3w2&t=632781598709843750 http://www.flexcar.com/WebResource.axd d=n1l5QH8c7uME47SjM3oAwtWDGx4wPo5O0&t=632781598709843750 But, when add these requests manual to my web test next page are not displayed. This website is developed in Asp.net (C#) using DotNetNuke. ...Show All
Visual Basic Saving forms at runtime??
If I want the user of my program to be able to enter data into a form, and then be able to save that form/data so, if need be, they can come back to the form and change the data without starting over from scratch, how would I do this I am using VB.NET 2003. Is it possible If so, can you point me towards any resources that will show me how to do this Any help would be very much appreciated. For every item that the user adds to your base form you are going to have to keep track of the control and its properties. I would do this by using xml files and serialization. ...Show All
Visual Studio Express Editions Visual Studio 2005 - ASP.NET - Creating tables - IRRITATING FEATURE
Why, when I make any table in Visual Studio, does it make every cell 100px width for example, if a choose to make a table with two rows and two columns (no specified width), it creates this: <table > < tr > < td style ="width: 100px"> </ td > < td style ="width: 100px"> </ td > </ tr > < tr > < td style ="width: 100px"> </ td > < td style ="width: 100px"> </ td > </ tr > </ table > These questions are not handled on this board. Users are referred to: http://forums.asp.net/ which specializes in these kinds of questions. ...Show All
SQL Server Calculated Member? (Beginner)
I have a measure named "Person Count". I am trying to make a calculated measure that gives me the same result if i made a dataset and had "Person Count" filtered by [Crash][Is injury]&[yes] (which is under the Crash dimension. How would i write the query in mdx for the calculated measure. This is what i thought it should be: [Measures].[Person Count] * [Crash].[Is Fatal Injury].&[Yes] Where did i go wrong I get nulls in the field. I did this before for another calculated member with a colegue, but i cant seem to remember exactly how it was written. And i cant get into his computer. Please help, i know its something little. Figure out it needed a comma! which ...Show All
Visual Studio HideDuplicates and Extra White Space!!
Hello All!! I am trying to create a report with 3 different groupings: A I a data data1 data2 data3 b data data1 data2 II B I have set the "HideDuplicates" property to hide any duplicates in the corresponding group. However, when the repeated data is hidden, it still leaves in the space where the data should have been if it was visible. This pushes all the other rows down and the extra space is taking up a lot of room!! I'm new at reporting services, so I was just wondering if anyone had a good solution to get rid of the extra space when the repeated grouped data hides itself. Hope this makes sense. Thank you!!! ...Show All
Windows Forms .NET RichTextBox Bugs
I'm running Visual Studio 2005. I have a RichTextBox control with WordWrap set to False and Right Margin set to 1000000. With Courier New 10pt font, these settings should allow me to enter over 100,000 characters on a row. When I reach around twenty thousand characters or so, the following behavior develops: 1. Horizontal scroll bar stops acting properly. It keeps jumping to the right. 2. Text at the end of the line begins to dissappear. Interestingly, when this invisible text is highlighted, it appears I know this is a very wide row. However, I see many applications that will allow me to enter over 2 million characters on a row. That's what I want to do. Are these bugs in the RichTextBox control Any workarounds Any suggest ...Show All
Visual Studio 2008 (Pre-release) [RC] Originator of message in net.P2P
Apologies for this fairly basic question - still reading up in the SDK. So, I have an app using net.P2P and a custom resolver and it works fine. However, it broadcasts the message and i'd like to be able to pick up an identifier (guid, IP Address or other) that will allow me to open a direct TCP connection to that user. What is the best way to get the IP Address (and port ) where the message originated steven http://stevenR2.com Hi Ram - Well, it's as basic as this. Steven sends out a message - "Hey, anyone know how to get the originator of message in net.P2P " Ram knows the answer so rather than broadcasting the message, makes a direct tcp connection to steven to tell him the ans ...Show All
Windows Forms Loading Image (Visual C# 2005)
Hey, I after these lines of code what should I put to make it load the image into a PictureBox openFileDialog1.DefaultExt = "*.gif" ; openFileDialog1.Filter = "Gif Images (*.gif)|*.gif|JPG Images (*.jpg)|*.jpg|TIF Images (*.tif), (*.tiff)|*.tif|PNG Images (*.png)|*.png|BMP Images (*.bmp)|*.bmp" ; openFileDialog1.InitialDirectory = "MyDocuments" ; openFileDialog1.CheckFileExists = true ; openFileDialog1.CheckPathExists = true ; Thanks :) if openFileDialog1.ShowDialog = DialogResults.OK then pictureBox1.Image = System.Drawing.Image.FromFile(openFileDialog1.Filename) ...Show All
Software Development for Windows Vista Audio device mapping
The mapping of kernel streaming WDM audio devices to waveOut, waveIn and mixer devices appears to be quite different to previous versions of Windows, and is causing problems with multichannel sound cards. Each output pin seems to map to a waveOut device named only by the pin type (for example "Speakers"), each input pin on each input miniport seems to map to a waveIn device, again named only by the pin type, and all the topology miniports created by a multichannel card are lumped into a single mixer device. This is going to cause great difficulty for application software that needs to be able to find its way around the various outputs, inputs and mixer controls on a multichannel card, particularly if that application has to work ...Show All
SQL Server Indexed view help needed
I am trying to create an indexed view with the following code, however it fails with the following error : An index cannot be created on the view 'TST_SCH' because the select list of the view contains a non-aggregate expression. - When I remove the case statement it works fine, what can I do to make this work, this is just part of the calculation, I have many such case statements that I will need to use. The column is NON-NUllable in the database - I have verified all columnproperty values in the select statement they are all indexable, the view, when created appears non-indexable, I have been able to create the view WITH SCHEMABINDING, the error occurs when I try to create an index on Column1(CBSA_CODE). I am using SQL Server 2000 e ...Show All
Visual Studio Express Editions adding contects of a text box
I'm am looking to add the contents of three textboxes (ie: 2 + 5+ 6) However, if the textboxes are empty it will not add them and the error essage is (cannot convert string"" to double). Do I have to use an if statement to convert the empties to "0" Or is there a different solution I'd probably use maskedtextbox if you're just going to have numbers in these boxes. Dim Box1, Box2, Box3, MySum As Double Try Box1 = CDbl (MaskedTextBox1.Text) Box2 = CDbl (MaskedTextBox2.Text) Box3 = CDbl (MaskedTextBox3.Text) Catch ex As InvalidCastException ' do nothing Finally MySum = Box1 + Box2 + Box3 End Try MsgBox(MySum) So even if ...Show All
.NET Development VB 2005 Colletions Issue
HI Im inheriting from a System.Colletions.CollectionBase as a base class for my collection, and would like to use a string key to itemise each element I put into my collection, but you cant supply a key when adding elements to the CollectionBase collection, any assistance or other suggestions would be much appreciated. Thank You Have a look at the generic System.Collections.Generic.Dictionary<TKey, TValue> class, this is a new class for .NET 2.0. Dim instance As New Dictionary(Of String , String ) instance.Add("Key", "Value") ...Show All
Windows Forms Drag and Drop between my application and windows explorer
Hello Gurus, I have an application developed in C# ,drag and drop option implemented within the appication. In fact, I am able to drag the files from external windows explorer and drop em on my application. Now I want to drag the files from my application and drop em on external windows explorer or desktop and my application should be able to copy them. Could you please give me some suggestions or sample code that does similar thing BTW, I am using Visual Studio.NET 2003 version. Thanks, Sathish Kumar I would like to drag files from the external windoes explorer and drop them onto my application. I too am currently using visual studio 2003 and it seems the DataFormats class does not pr ...Show All
Smart Device Development MonthCalendar DateSelected event?
Dear all, How can i trigger "Select Date event" of monthCalendar in .net compact framework, just like the DateSelected event in .net Framework. Urgent!!! Thank you too much Thank you for you answer, i have try to use calendar picker before. But does the calendar picker can contain a text which is not a date My problem is that the combo box should contains the selected date which is selected from calendar, also , the combo box has a dropdown list that can be selected a single value(a string ) which should fill in the combo box. Any suggestion Thank you very much. ...Show All
Visual Basic Question about 2 D arrays
I am new to the development area, and am learning VB through the .Net Framework. I am working on a project for school. It is relatively simple but I am having difficulty in the last area of it. It is dealing a simple hand of poker. I can deal the cards from a 2 dimensional array no problem. but now I must go back and take the hand and determine if it is a pair 3 of a kind 4 of a kind or full house. I am using a counter variable as I go through the array to see what Ihave for face values, but I am stuck. I cant seem to get the logic to display my results properly. Any suggestions Here is the code, what is happening is I click on the deal button on my form, and it goes through the 2 D array and picks t ...Show All
