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

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

JimBobJoe

Member List

GRK
ossent
EvilOneSD
DigitalFusion
dmyers
Wayne.C
Jamie Thomson
Jacx
IntMain
thedo
danielfirka
Tryin2Bgood
Wayne Sepega
Joshua Nobes
chris441962
bpeikes
Gary Lapointe
RideABike
LoganLuoWei
matt71087
Only Title

JimBobJoe's Q&A profile

  • Windows Forms How to create a nullable and editable DateTimePicker

    Hi everyone, Does anyone know a good way to create a nullable and editable DateTimePicker in VS C# Thanks! tdcntt It should work fine. Don't forget though that it is a partial class autogenerated by Visual Studio. So to make it work you need to: 1) Create a new user control in Visual Studio called "UltraDateTimePicker" 2) Delete all the code in UltraDateTimePicker.cs and replace the it with the above code. The reason your wont recognize InitializeComponent() is because you don't have the other part of the partial class that is autogenerated by VS. (It in UltraDateTimerPicker.Designer.cs Also, this UltraDateTimePicker uses the ISupportInitialize ...Show All

  • Windows Forms How to set a C # form never be focused?

    Hello all, Here comes a C# Form focus controlling question. I write a C# program that only contains a form and will attach to a general process when I execute it, (e.g.: Notepad.exe) Now, the C# form can display successfully without stealing the focus from the Notepad process, i.e. show-no-activate, by using [DllImport( "user32.dll" ) ] and call the SetWindowPos as follows: {{{ SetWindowPos( handle, (IntPtr) HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE | SWP_SHOWWINDOW ); form.Visible = true; }}} My planned next step is to prevent the C# form from getting the focus when I click on it. That is, it is hoped that the focus should be always on the attached application such as Notepad. Does anyone know how to do ...Show All

  • Windows Live Developer Forums Executing functions via VB .NET

    Hi, I have a VB.NET application with an embedded browser page with a Java script page to load the VE stuff. Does anyone know if it is possible to send a message to the java script page to tell it to execute a particular function It might be delete all push pins or add a pushpin for instance. Thanks martin Depends on which framework your using.  But if your using 2.0 you can try using Page.RegisterStartupScript() More details on that here: http://msdn2.microsoft.com/en-us/library/system.web.ui.page.registerstartupscript.aspx if its 1.1 I'd recommend using Page.RegisterClientScriptBlock(); example: Page.RegisterClientScriptBlock("YourKey","<script>alert('hi')</script>"); Details: h ...Show All

  • Visual Studio Creating Graphical editors

    Hi All, Im trying to evaluate the possibility of creating an xml editor for VS2005, the editor will need to open xml files but display it graphically, the xmls will represent workflows so the intended editor will look like the Visual studio orchestration editor for Biztalk. Basically i would like to know the following 1) Can i create this editor using C# 2) How complex would it be to create an editor similar to the orchestration editor for BizTalk 3) Any links to samples that would be of use. Any comments from your side is appreciated. Thanks ! Regs, Melvin Don't know much about Biztalk, but hosting graphical editors written in C# is pretty straight-forward. This is mine: http://statesharp.ne ...Show All

  • Visual Studio Express Editions Building Threads

    Hi I have an application written in VB.Net that queries a SQL Server database on search queries, but depending on times and network traffic retrieval times can be quite lengthy. Can I build a Thread in .Net where it can execute the search query and I can can continue executing code in my application, alert the user that the application is retrieving the data and show a timer of some sort. Is this possible THank You Thanks littleguru fo the quick response.... any samples as to the structure of the class and the required methods...I've never worked with THreads before and this is an urgent requirement Cheers ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Prebuilt Content... How?

    I'm working on a standalone content processor, but I realized I had no idea how to load prebuilt XNBs into a project. I'm not talking about dynamicly loading content at runtime here. I just want to include a preprocessed XNB in the project. Try as I might, nothing I seem to do works. I tired adding an XNB to the project, telling it to take no action, just copy. I tried copying it to the content folder manually... etc, etc. How does one do this Getting things from my DCC app to a game is a mutlistage process. I want to streamline it a bit by building a standalone content processor, so I can build content outside of GSE. Basicly I want to point this app at a directory and have it build everything in ...Show All

  • SQL Server Text box Expression and Text

    I have an issue where I do the following with a text box "This account has" & "expression" & "in it" The "expression" is a stored procedure that generates a balance The problem I run into is I cant get the expression to show up as currency. I have even tried doing the currency format on the sql side, and it keeps showing the amount as a non currency amount. I have tried applying the the currency type to the text box, and still doesnt have an affect on the amount that shows up. It seems like there is rather a problem related to not encoding the double quote in the string: "is coded as " 00 ... Did you try this expression: ="*Of which" & Format(Sum(Fields!ID. ...Show All

  • Visual Studio Team System Numerous errors in the Application Event Log when TFS host is rebooted

    I'm not sure that there's anything "wrong" here, but it seems worth asking about - I noticed in the event log for my TFS host that quite a number of errors and warnings were logged within the first 15-20 seconds of operation following a reboot. Subsequent to that, everything's working just fine. Off hand, it looks like most of the issues stem from Tfs services spinning up and attempting to (directly or indirectly) use SQL Server before it's ready to accept connections, but that's really just a guess, not the result of any detailed analysis. Of course, in the long run, I'd like to see a reboot that doesn't log bogus exceptions from services stumbling over each other at startup, but for 1.0, is this expected/typical behavior ...Show All

  • .NET Development System.Collections AND System.Collections.Generic

    other then the Collections.Generic are strong typed, is there any difference between them will Collections.Generic perform better what the benefit using Collections.Generic thankyou Hi, The major difference is that you do not have to cast the values of generic collections to the type if contains. Another benefit is that the collection is assured to contain objects of the same type. With standard collections, you can have a list that contains both a string and an integer since standard collections contain any object. There is a small performance gain in using generic collection since you do not have to cast the contained values to the types you are using. This cast takes time as the runtime check ...Show All

  • Visual Basic Error on References tab of project properties page.

    I have just created a new Extensibility Addin for Visual Basic using VS2005 Professional. This addin will be targeted at MS Outlook (I hope). When I look at the References tab of the project properties, I see the following message:- An error occurred trying to load the page. Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.ProjectItemsEvents'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{22800963-2811-410D-BF87-A7808EAC977D}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Why does this appear How do I correct this This was a fresh installation tha ...Show All

  • Visual Studio Team System Create Report Problems

    Dear Microsoft Cracks ;-) I have to try out VS05TFS. My boss want a reporting worked hour tool for developers. I have found some forum entries (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=326021&SiteID=1), but i'm new in this software "branch" and i actually discover the report builder, and i think, there i can fill scripts like in the above forum link displayed. anyway, i can not create an new report, because "No Report Builder models are available". Anyone here who knows how to solve my problem, so i can go further and trainning my query skills on sql 2005 ! ;-) best thanks, regards riv Hi Riv, in V1 version of Team Foundation we didn't have enough time to provide a ...Show All

  • Windows Forms Displaying an image in 2005

    hi, i have a grid named dgShipments, and it has a signature column, i have binded the signature data from the database to the signature column, while retrieving i store the image from the database and i converted to byte and then stored in our project folder, but i couldn be able to view the image, i have a image control named image1 where the url of the image will be the one where i store the image after retieving from database, i couldn be able to view the image need help please post the code you are using please can you confirm if you are trying to set the picturebox control to where the image is stored how exactly are you retrieving the data from the database or rather ...Show All

  • Visual Studio 2008 (Pre-release) GroupStyle and WrapPanel

    I'm trying to display a list of grouped items in a WrapPanel under a header with the name of the group. I ended up with this XAML for the group style of the list box containing the data: <ListBox.GroupStyle> <GroupStyle> <GroupStyle.ContainerStyle> <Style TargetType="{x:Type GroupItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type GroupItem}"> <StackPanel> <TextBlock Text="{Binding Path=Name}" /> <ItemsControl Margin="10"> <ItemsControl.ItemsPanel> <Item ...Show All

  • .NET Development DataAdapter inserting values into the database, dataset not having Primary Key for new row

    I've created a DataGridView and I want to be able edit the values and instantly update the database. I can update the database sucessfully using the below code but the dataset does not get updated with the primary key of the newly inserted row from the database. As such if i then try to use the new row i can not get it's ID. Is there a way to force the dataset to get the primary key of the new row that i've added to the database Private Sub fieldsBindingSource_PositionChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles fieldsBindingSource.PositionChanged Try Dim thisBindingSource As BindingSource = CType (sender, BindingSource) Dim ThisDataRow As DataRow = CType (thisBinding ...Show All

  • Visual Studio 2008 (Pre-release) Modifying basicHTTPBinding on Client side

    Hi Community, Has someone tried modifying the basicHTTPBinding on the client side Is it possible or I am thinking something non-standard thing What I think there should be a way to inherit and override what is already provided in basicHTTPBinding or in any other out of box binding. For example in the following code I am changing the IncludeTimeStamp to false. This may be the bad example in which the channels on the service side will not match. But idea is, what if the server side code is not WCF service. If the IncludeTimeStamp flag is not required on the server side but everything from basicHTTPBinding is required. using ( GetAddressClient proxy = new GetAddressClient ( "GetAddress" )) { try ...Show All

©2008 Software Development Network