Richard Judson's Q&A profile
Smart Device Development VS2005: Why is FormFactor visible in the property grid for a Control
Hi, Why is FormFactor visible in the property grid for a Control Is it possible to set a skin for a Control In that case, why can't I find any way to show the skin For a Form there are a Skin property as well which shows or hides the skin. Best regards, Joakim Hi… FormFactor determines among other things, the resolution of the screen, its size, orientation… If a control houses other controls and/or paints some custom stuff on itself, you want it to be right for each of the FormFactors. The designer is all about letting you rapidly develop UI that is seen when your app is running. ...Show All
Windows Forms Problems/bug? Navigating Webbrowser control from a remote form
I have two forms: form1 is the starting form; form2 is a form with a webBrowser control. If I navigate the browser control from form2 where the webbrowser resides it works fine. If I navigate form2’s browser control from form1 my firewall and network monitor tells me that an http request has been issued and then completed but the browser control  ...Show All
Visual Studio Running Total not appearing
Hi Everyone I've got a problem regarding Cyrstal Reports... The report i have has a running total that calculates all the prices of the items on a report. For some reason this works fine on the server, but when view the report from a client's pc, everything is there except the running total. I'm using windows forms. I've set the ODBC, checked it a million times... Please help anyone. Thanks in advance I do not know if this will solve your problem, do you install service pack or hotfix on server and not at client's pc That's happens when the data is displayed ok in my pc but when I transfer the application to the produ ...Show All
Visual Studio 2008 (Pre-release) Hyperlink in a RichTextBox - no ToolTip?
Quick question: When I set the ToolTip property on a Hyperlink that is then embedded into a RichTextBox, hovering the mouse over the hyperlink doesn't display the tooltip*. Why is this, and how can I make the tooltip appear properly * For that matter, clicks are not correctly interpreted by the Hyperlink either, I have to programmatically attach a MouseDown handler to deal with launching the link's NavigateUri Hyperlink is not enabled in the RichTextBox. Also tooltips of inline level elements are not supported. You could get the ToolTip if a FlowDocumentReader is used HTH ...Show All
Visual Basic Iterating through a DataGridView
As the topic says, I am iterating through a datagrid view : For Each row As DataGridViewRow In Me .DataGridView.Rows If row.Cells( "Status" ).Value.ToString.Trim = "HOLD" Then MsgBox(row.Cells( "Status" ).Value) HoldCount = HoldCount + 1 MsgBox(HoldCount) End If Next There are three records in the view, everything seems to work fine until it hits the new record in the view, at which point the value of "Status" is NULL, an the program crashes. How do I check for a null and bypass this error. John Right under the ...Show All
Visual Studio Express Editions HtmlElement.OuterHtml.Replace() fails with COM exception
I've tried asking this on microsoft.public.dotnet.languages.csharp, but I am getting no response. Maybe I'm getting lost in the traffic. So, let's try it here. Dev env: VS 2005 C# Express, .Net Framework 2.0 I am trying to programmatically select an item in a listbox on a web page. The first thing I do is go through and de-select any selected items. The OuterHtml field of a selected element in the listbox looks something like this: <OPTION value=* selected>Default item</OPTION> I want to simply remove the the term 'selected' this way: elt.OuterHtml = elt.OuterHtml.Replace("selected",""); ...Show All
SQL Server Pckg variable not getting set
I have created a simple package to zip a file. I am determining the file to be zipped dynamically at runtime using the Script task. I have a package variable defined as ReadWrite in the script task; I am attempting to store the dynamically determined file name to this package variable. The code I am using to assign the value to the variable is: Dim LatestBackupName As String Dim ZipName As String Dts.Variables( "FileName" ).Value = ZipName & " " & LatestBackupName I have set a breakpoint in the code to step into each statement. I am able to see that the "FileName&qu ...Show All
Visual C# Output String From ArrayList
I'm attempting to take an array list of integers and convert it to an array of strings. I run this code string [] myarr = ( string []) ArrayList.ToArray( typeof ( string ) ); and I get this error: An unhandled exception of type 'System.InvalidCastException' occurred in mscorlib.dll Additional information: At least one element in the source array could not be cast down to the destination array type. I have verified that the count of the ArrayList is 1 and that there is only one item in the ArrayList. It's type is integer. Thanks in advance. Dianne Siebold Quick question why are u ...Show All
SQL Server Subscription-Configuration HTML-Entities BUG
Hi, is there any way to solve the BUG in the Web-ReportsManager, that values entered in the textfields for a (datadriven)-subscription will be html escaped twice Example: Enter "test" <noreply@mydonamin.com> as "reply to" adress and save the subscription. Click on edit to edit the subscription, goto the MailDelivery parameters and "reply to" is now: "test" <noreply@mydonamin.com> !! Fine, you have to correct each value!! This BUG appears in IE and FF because the html-entities get escaped twice! The page-souce says &quot;test& amp; quot; & amp; lt;noreply@mydonamin.com& amp; gt; This ...Show All
Visual FoxPro Visual Foxpro Book Recommendations?
All, Can anyone recommend a good book for learning VFP 6.0 from scratch I've looked at SPECIAL ADDITION USING VISUAL FOXPRO 6 but it's not really helping me so far. All I am trying to do is create a simple .exe that will read amd update some records from a .dbf and insert those records into a MS SQL table. All the books on Amazon have gotten terrible reviews and MSDN has little to no info on doing this. I don't need any forms or reports as the .exe I want to build would act more like a trigger than anything else. Even a simple tutorial on this would probably suffice if I ...Show All
SQL Server How do I return a TRUE or FALSE using a Stored Procedure?
How do I return a TRUE or FALSE using a Stored Procedure This is my SQL Server Code: All I need it to do is return a TRUE or FALSE response (in integer, string, I don't care what manner) as to whether or not the given select statement returned with data (in other words, if something met the criteria). The criteria is "Do any records nameKey = 52 and were they posted on today's date " --------------------------------------- CREATE PROCEDURE udspCheckForMilestoneUpdates AS IF EXISTS ( SELECT * FROM storyData WHERE nameKey = 52   ...Show All
Windows Forms Save datagrid layout to file
Hi, I want to save a datagrid layout to a file. Not the data - just the columns, their formatting and the fields they are bound to. Can this be done (and how!) Paul. ...Show All
.NET Development .net generic class or function parameters.
I don't understand why is this not possible to pass an integer parameter to a generic class or function as for c++ templates. It seems to me that it's far easier than allowing type parameter resolved at runtime. Could someone please explain me if there is some practical reason for this and if there's a workarround for doing the same as templates but at runtime with integer parameters. thanks, Aurelien. In one sense, template is not necessary for a single-rooted pure OO PL (as for Java, there is no template through Java 1.4), because you can always define everything as root object and then downcast into your ...Show All
.NET Development DataSet
i have a dataset filled with mdb, wich contains ID, Name, Date und salary. so here is my problem: 1. how can I sum all those salaries together 2. how can i sum salaries according to Date for example sum salaries only for June. is there any way to get Salary column into an array for calculation the answer will not be saved in database. can somebody help me please. thnx in advance You should be able to do all of those things using the System.Data.DataTable.Compute() method. This way, you could actually do your calculations on the table itself rather than copying d ...Show All
Software Development for Windows Vista SetWindowsHookEx and JournalRecordProc
Hi, SetWindowsHookEx(WH_JOURNALRECORD,JournalRecordProc,hInstance,0) This is failing on Vista build 5231. Is this just not supported yet in the beta or is there a change to the SDK that I'm not aware of Thanks, Marcus Hi, I am looking for an answer to this also. When I call SetWindowsHookEx specifying Journal record I get an access denied error. Other hooks such as low level mouse seem to work fine. Does anyone have any infomration on this thanks, tim ...Show All
