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

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

jrenton87

Member List

jferrell1211
Guzz
kosinsky
Zdog
Suresh63149
vondueck
kelz1004
Rulli76
amzayle
Raja_Pols
James Thornton ITS IV
PM2k
MaqboolHussain
Roxana
Pankaj ssg
awp001
Dag H. Baardsen BEKK
HadEnoughWithDotNet
Sinergy
jamie1ky
Only Title

jrenton87's Q&A profile

  • Windows Forms DataGridView - slow

    Hi, this DataGridView is really giving me headaches like you can see in all the topics I start :) This time it's about performance. I'm using a DataBound DataGridView and performance for painting on it, etc. is good as long as it contains no data :) However, as soon as I load 10 columns in it with about 200 rows, performance really drops. Resizing the form that contains the grid becomes real slow even with column auto size off. Painting selection rectangle over columns becomes real laggy, etc. Anybody got some ideas why this could be the case Or is that "to be expected" Thanks, Tom   MortenFraMoss w ...Show All

  • Visual Basic Remotely enabling remote desktop with system.management problem

    Please help by looking over this. I'm getting the error "System.UnauthorizedAccessException: Cannot Write to the Registry Key" I'm not sure that the path to the Terminal Server key is correct. I have admin rights and write access to the key. Thanks very much for any assistance (I'm a beginner if you can't tell..) Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim servername As String servername = txtServername.Text Dim options As ConnectionOptions options = New ConnectionOptions options.Impersonation = Impersonatio ...Show All

  • SQL Server Data Source for Process Cube

    Is the source for the data used to process the cube actually embedded in the cube itself   I.e. I have source data which could move around.  How can I programatically modify the source connection string before processing the cube using SSIS You are brilliant.  I knew about the scripting feature however I wasn't thinking about the data source being surfaced in the Management Console for analysis services.  Thanks! ...Show All

  • Visual Studio Does ReportViewer cache results?

    I've created a multiview with two views. The first view has two date parameter fields and a submit button. When the dates are populated and the button pressed, the ObjectDatasource gets the data from a stored procedure and populates the reportviewer in the second view. After this first execution, the report keeps displaying the same data whatever dates I put in as parameters. The code for to get the data from the object data source is not being executed after the first time. And I ran Profiler..the stored procedure isn't being executed. I have EnableCaching = False on the ObjectDataSource. I would like the report to be populated ...Show All

  • Windows Forms Window forms: close one instance, open another

    Hi all,  My scenario is as follows: User enters search criteria on a switchboard form (formA) which returns a form (formB) that contains a number of listings to choose from.  From this form the user then clicks the desired listing which brings them to a more detailed form (formC) of the listing.  I then hide formB. I am trying to accomplish two&nb ...Show All

  • SQL Server launch report builder from C# app

    Hi friends how can i launcg report builder from a C# app i know i can use following url but need to know how to execute that url to bring up the report builder http://<localhost>/reportserver/reportbuilder/reportbuilder.application Thanks for your help Please see this blog post: http://blogs.msdn.com/bobmeyers/archive/2006/01/24/517083.aspx Note the issue mentioned in the comments. ...Show All

  • SQL Server Join XML fragment with real table

    I was wondering how someone would go about joining an XML fragment with a SQL table. Say for example this is my XML fragment. <foo><key>1</key><description>One</description></foo> <foo><key>2</key><description>Two</description></foo> My table looks like this: key SomeInfo 1 SomeInfo1 2 SomeInfo2 I want to be able to create a Stored procedure that takes my XML fragment as an xml type and then create a SQL select statement that looks like this in pseudo code. Select myTable.key, myTable.SomeInfo, @myXML.Description From myTable an ...Show All

  • Visual C# setting a variable using a random number from x to y

    How can I set a variable using a random number from 1 to 10 ------------------------------------------------------------------------------ For example if I have a variable named "a" in pascal , my code is : a := random(1..10); If I use this code in paccal "a" will be a number from 1 to 10(for example 1 or 4). ------------------------------------------------------------------------------ I need a code like that in c#. Hi, in c# you have to create an instance of Random class and call a method: Random MyRandom = new Random(); int num = MyRandom.Next(1, 11 ...Show All

  • SQL Server Index was outside the bounds of the array

    Ok, all I did was to create a new report, new dataset, hook it up to a simple stored proc. I can run that dataset fine and see the date in the Data tab. I go to the layout tab, throw on a textbox...or even try dragging in a field from the dataset tab, then try to preview and get the error "Index was outside the bounds of the array" what is it talking about, what array, what index the dataset this time doesn't appear to be a cache issue, it's simply not liking GroupName = 'Arizona' as a field in the dataset and crashes when trying to use that in the chart. I see that field fine in the data tab when running my dataset ...Show All

  • Visual Studio Custom task: assembly could not be found

    Hi, I am using the final version of Framework 2.0. I have created a custom task called SimpleTask (modelled after the Hands-On-Lab document). When I try to use it in a project file, I get the following error message: C:\tmp\I2DL\i2dl.proj(11,5): error MSB4062: The "SimpleTask" task could not be l oaded from the assembly c:\tmp\vs6build\vs6build\bin\Debug\v6build.dll. Could no t load file or assembly 'file:///c:\tmp\vs6build\vs6build\bin\Debug\v6build.dll'  or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its d ependencies are ...Show All

  • Windows Forms Problems with WFML and VB.NET

    Hello, i've a problem with WFML my Source in VB.NET 2003 Dim parser As New System.Windows.Forms.Samples.WFML.MarkupParser parser.Parse("h:\basic.xml") When i will run the program the following error appears translated from german to english, please excuse my grammatically errors ;-)) 'System.Exception' in system.dll ... More Informations: '300,200' is not a correct Value for Int32. My XML File < xml versi ...Show All

  • Windows Forms "truely" Transparent Control Paints Funny

    Hello, (long post) I have worked this problem for quite some time now with no luck.  I was actually at Tech Ed last week and just missed Shawn Burke.  He is the gentleman that everyone said could help me.  Nobody else had any answers. There are dozens of posts on how to override the CreateParams property.  They all look like duplicates becaus ...Show All

  • Windows Forms Interfacing with ID card printer

    Hello, I'm currently writing an application to produce plastic ID cards, using a Datacard SP55 magnetic card printer. Regular printing works fine using the PrintDocument class, but to encode the magnetic stripe on the card, I need to print text using a special device font called "Track 1". After doing some research, I have discovered that device fonts can not be used directly with GDI+ printing as in .NET. Does anyone know the easiest way to print a single text string in a device font to the printer, without redoing the entire printing with P/Invoke and Win32 API Answers are greatly appreciated! ...Show All

  • Visual Studio Express Editions Smart indenting not working right

    Hello, I have visual C++ 2005 express and the first thing I notice is the smart indenting. When I turn it on it indents corectly and everything but if I return down from a line of code (so there are blank lines between the cursor and my code) and than I go back and click a blank line, the line will go to the very left like there was never a tab inserted. Is there a way to fix this or is this just what visual C++ 2005 express does Hi,   When returning down, the caret on the new line is set to align with the previous line of code, but spaces or tabs are not actually appended to the line until yo ...Show All

  • SQL Server Re-order table after many inserts

    I have a stored proc that is long and performs many separate intserts into my table. Is there a way that I can reorder the records themselves physically in the table after the inserts are done Hello, http://weblogs.sqlteam.com/tarad/archive/2004/07/30/1834.aspx I think this will help you! Happy coding... ...Show All

©2008 Software Development Network