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

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

TBrij

Member List

Here2Play
Lil endian
walking fish
sontek
VoiceOfExperience
NotTaken
Terence Tung
imj
sefiroths
Alan Z
Steven Gilissen
ForEverLearning
Sam_2
Zeenah
PolkaDance
Mike Martin24365
James_Steven
Harkernator
vdv_phuong
Peter Kalev
Only Title

TBrij's Q&A profile

  • .NET Development Application.DoEvents in .NET 3.0 ?

    Hello, Is there an equivalent of Application.DoEvents in .NET 3.0 If so, what is it Thank you Tom I don't think there's any such thing in WPF. DoEvents was used basically to process the message queue, but since WPF no longer has the thread affinity of Windows Forms, I'd imagine they've done away with the message queue. ...Show All

  • Windows Forms VB Wiarad Best Practice

    Hello All What is the best way to implement a wizard in VB 2005 Is there any template which specially designed for wizards /Thanks in Advance PRash cretae wizard using vb.net , follow is an example hope it help you http://www.codeproject.com/vb/net/oobestylewizard.asp ...Show All

  • SQL Server Interpreting the percentage in decision-tree model

    Hi, I used a decision-tree mining-model to describe and predict fraud. The table contains 1039 records with 775 distinct value of A-number (the calling party). I used 9 columns in the model. SQL Server reports that only 3 columns are significant in predicting the fraud - BPN_is_too_short (called party-number is too short) - Duration_is_zero - Invalid_area_code The key-column in A-number, and the predicted column is Is_Fraud with the range of values are only 0 and 1. There's no record with NULL (missing-value) in the column Is_Fraud. Mining Legend shows in the first split [-] 625 cases of fraud [-] 150 cases of non-fraud [-] 0 cases of missing In addition to that, Mining Legend shows [-] 79.69% of fraud [-] 19.64% of non-fraud [-] 0.67% Mis ...Show All

  • .NET Development unable to display the from an oracle stored proc

    hey i'm having a hard time getting the result of an oracle stored proc. this is the simple stored proc i created create or replace procedure testproc (total_number out binary_integer) is begin dbms_output.enable; select count(*) into total_number from ARCHITECT.ACCOUNTS where ARCHITECT.ACCOUNTS.ACCOUNTID is not null; and on VS 2005 Designer i dragged a oracleConnection and an OracleCommand and i've set all the properties right (the commandType and CommandText, the output parameter) and i actually preview the data using the little arrow on the oraclecommand instance on my designer surface (similar to the query builder preview data) and i'm using this code to display the result of the stored proc in a textbox orac ...Show All

  • Visual Basic IT Asset Tracking System Objects

    I am fairly new to object oriented programming. I have developed a few usercontrols for an IT Asset Tracking System that I am developing but I need some good advice on the coding side of things as I am using VB 2005 Professional. What kind of classes and objects do I need to create for my system within VB 2005. So far as an example, I have the following tables in my SQL Server 2005 express database as I am fine with the db side of things: OperatingSystem - Lookup table for operating systems HardDrive - Lookup table for hard drive sizes CPUSpeed - Lookup table for CPUSPeed MemorySize - Lookup table for System memory WarrantyCompany - Lookup table for warranty companies ProductListing - List of products to add to purchas ...Show All

  • Visual Studio Tools for Office Dynamically installing/loading and uninstalling/unloading Word's Addins

    Hi, This is my first post and not sure the querries is appropriate. sorry if it is not. Is it possible for a C# / VB.NET program to install Word 2007 addins and uninstall the addins when Word exit I would like my program to launch Word / Powerpoint and customised their Ribbon UI and reset the UI back to default when they exit. Can such a program be developed using VSTO or COM Addins. Any help /pointer would be greatly appreciated. When addin is installed it is registered under HKCU\Software]\Microsoft\Office\Word\<AddinName>. You can actually use the registry view of the setup project to see all the registry related information. The correct way to uninstall an add-in is to use an MSI API e.g ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dispose

    Hello, I've noticed that apart from the top-level "using" statement, the example code never calls Dispose on anything. Is that something we should care about Does it cause unmanaged resource leaks What resources get disposed for us Thanks, Peter Properties should never return arrays. Methods that return arrays should always made a deep copy. I am just doubled checked the design guidelines. The general rule about calling dispose is that you should call dispose only for objects that you own. Additional an object that owns other objects should dispose this objects during it’s own Dispose operation. (XNA made this wrong) If you got an object from a property you should never call Dispose because you get onl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Windows Forms and DirectX

    To use directx, you send it a winodw in the form of a control. Is there any other form type this will work with I want to have a windows form on one side, with a directx controlled draw space on the other. How would i go about doing this please Thanks, Mike Hi, I've been using a code very similar to this one in my app, but for some obscure reason the rendering seems not to work very well. The scene seems to be badly pixelized, although all antialiasing options are ok and color + lighting also work. While reading another forum I figured out that if you create your device using the other constructor (replacing this .Handle by this ), then the scene is much nicer, but all objects (meshes and lines) b ...Show All

  • Visual Studio Express Editions Closing an open excel workbook

    Anybody knows how to close an open excel workbook I have tried the example under Getobject help to no avail. The problem is that although I cannot actually get the running instance of the workbook. Imports XL = Microsoft . Office . Interop . Excel Dim xlapp As New XL . Application Dim wk As XL . Workbook = xlapp . ActiveWorkbook Dim wk2 As XL . Workbook = xlapp . Workbooks . Open ( "C:\MySpreadsheet.xls" ) wk . SaveAs ( "C:\MyNewSpreadsheet.xls" ) wk . Close () wk2 . Close ( True ) xlapp . Quit () System . Runtime . InteropServices . Marshal . ReleaseComObject ( xlapp ) ...Show All

  • Visual Studio Express Editions How to catch selection change of DataGridView Combobox

    I need to catch the selection change event of a combobox column of a datagridview. Thanks, RoC RoC, Firstly, there is some difference between the source of ComboBox, items from the database or from the program. I don't know whether you have bound the control to the database. Secondly, here I have an example on the SelectedIndexChanged event with the items are from program as follows: Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged ' Cast the sender object back to a ComboBox. Dim ComboBox1 As ComboBox = CType (sender, ComboBox) ' Retrieve th ...Show All

  • SQL Server Repeat charts in every page

    hi guys, In reporting services i have a table and below which i have a chart. The table has lot of values so the report spans multiple pages. I have set page breaks such that the table displays only 10 records. After all the values have been displayed in the last page the chart is displayed. I want the chart to display in each and every page of the report. It is the same chart that i want to display. How do i do this plz can anyone give me ideas. Thanks, Sai Abhiram Bandhakavi You should add one new row in table and set the property repeatonnewpage as true, And place the chart in this row. then same chart will repeat on each page. To do this follow the follwing steps: 1. Right click the first ...Show All

  • Software Development for Windows Vista Why I can not find 1394 camera?

    I can use DirectShow to connect with USB camera, but the same program can not find 1394 camera. I used two interface, ICreateDevEnum and IEnumMoniker, as follows: ICreateDevEnum * pCreateDevEnum = NULL; IEnumMoniker * pEnumMoniker = NULL; // Create Device Enumerator, it is success hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC_SERVER, IID_ICreateDevEnum, reinterpret_cast<PVOID *>(&pCreateDevEnum)); // Create the enumerator of the monikers for the specified Device Class & reset them, it is failed hr = pCreateDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory, &pEnumMoniker, 0); It said pEnumMoniker was not initialized. How can I do > I can ...Show All

  • Visual Basic xml tag parsing, please help!

    ok here's what i have, my form has a webbrowser that does the following. Private Sub cmdCheck_Click() webFriend.Navigate "http://statistics.graal.us/player/show/" + txtFriend.Text + " xml=1" End Sub txtFriend.Text is the account name they enter, it's for an online game to see if a player is online, now the page returns xml format like <account>yourname<account> How would i make the webbrowser remove all the xml formatting and just return the value between the tags Any help is appreciated and thanks in advance. All I want it to do is grab the page which will be random depending on what is entered in txtFriend.Text and remove all of the xml formatting such as <nickname>P ...Show All

  • SQL Server SQL Cluster Connection issues

    We have a cluster that keeps experiencing intermittent connection problems. Everything from replication falling over (and working perfectly when started again) to SSIS packages failing (and working perfectly when restarted again). Errors messages vary but all pretty much have the same in common - no connection. Eg. TCP Provider: The specified network name is no longer available;Connection may not be configured correctly etc. We have another cluster setup in pretty much the same way, with pretty much the same processes, also replicating.This cluster never has issues. The ssis packages are run from a different server connecting to the clusters, and the distributor both clusters use is also on another server. This seems to be, in my ...Show All

  • Visual C++ Is it possible to write debuger visualizers for C++ in VS 2005?

    I've seen only examples of Debugger Visualizers written in C#. Is there a way to write visualizer for unmanaged C++ I really like the way debugger shows STL collections so I would like to have something similar for my data structures. Thank you for the information. I would have never guessed that such thing exists. Do you know if "language" of that file is documented somewhere I've never seen this type of scripting language anywhere. ...Show All

©2008 Software Development Network