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

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

jam281

Member List

Xcel
Suraj Guptha
Kurt Halvorson
upgraders
mitasid
splyf
HarveyC123
Syed Faraz Mahmood
arkiboys
WXS123
Subhojeet
Captaintrips
Emadkb
patforna
Whoisit
PJOS267031
Kinju
Rajesh_N
ReneeC
RhysDavies
Only Title

jam281's Q&A profile

  • Gadgets Sidebar gadgets outside the sidebar?

    Hi guys, I'm interested on building some gadgets and I'd like to know a couple of info about this specific type. 1) Can they exist outside the sidebar In this case, can they know their position in the stage 2) Can they communicate to each other I had a look to the API and I couldn't find so much information about these topics. Any info will be very appreciated. Thanks, chr Thanks Bruce, and so I presume they can stay outside the sidebar, but can they then communicate eachother best, chr ...Show All

  • Visual C++ Dialog without resource

    I tried to create the dialog using CreateIndirect function. But even after filling the DLGTEMPLATE structure, I an application error occur on creation. The dialog box contains a list box, which is created dynamically. Could you please help me to create dialog without adding resource to RC file I found one article in Codeproject but the parameter specifying as BYTE array which is a bit difficult to understand. However I checked the binary values in a hex editor after writing to a file. But it is not matching with the DLGTEMPLATE structure.   Sarath. wrote: [...] BTW this will not call the OnInitDialog virtual function no In my quick tests with a class derived from CDialog , the OnIni ...Show All

  • Smart Device Development How to use Function InputBox for WM 5.0 SP?

    Hello. In the project Visual Studio 2005, Visual Basic, Windows Mobile 5.0 Smartphone, Device Application, for input of a text in process of running a program, in file Form1.vb I have written down such line with use of Function InputBox: myValue = InputBox("Enter yur name", "Hello.", defaultName) At running this line, on the screen of the smartphone emulator there is a window, in which it is possible to write down a text, however below on dark-blue strip of the screen, commands "OK" ana "Cancel" do not work. And on this line the program stops job. For the same reason do not work the commands of the component MainMenu1, wich is automatically added in all projects. The clicks by five ...Show All

  • Windows Forms RowLeave event happens before CellValueChanged

    Hi, In my implementation of an unbound DataGridView I need to set a changed flag at the row level if data in that row has changed, I do that in the CellValueChanged event. Then, in the RowLeave event, if the flag has been set, I update the unbound data source with the value of the row's cells. It should work if the CellValueChanged would happen before RowLeave, but it's not the case. RowLeave happens before CellValueChanged, why Is there a workaround Thank you, Marco Here is what DataGridView FAQ says: Order of Validation Events The following identifies the order of validation, enter/leave and begin/end edit events. The EditMode is EditOnEnter. When moving from cell to cell ...Show All

  • Visual Basic Array Help

    Hi, This may be a very basic problem but im haveing real trouble with it and its driving me crazy!!!!!!! I have created a class called Class1 I can create a new object by calling Dim test2 As New Class1 I can change its attrributes by test2.summary = True test2.is_stage = False etc..... Now what I want to do is store this class in an array. I have tried the folowing code but it doesnt seem to work Dim proj_tasks(10000) As Class1 proj_tasks(counter) = test2 This keeps erroring and I dont know why! Can somebody help me out! Also if your feeling very generous could you please adivise me on how I could make this a dynamic array rather than having to set the array to a huge size in the first place ...Show All

  • Windows Forms How to change the color of textbox after set enable to false?

    Hi, I am using VB.Net 2005, after I set my textbox enable to false, how can I change the background color and font color of the textbox If I just change the font color property of the textbox, it doesn't seem work. Thanks a lot. why not "replace" the textbox (or combo, datetimepicker etc.) field with labels if you want to disable them. Labels are not editable. Label colors can be adapted. Just place a label over the control you want to disable and hide the control. For enabling hide the label and show the control. ...Show All

  • Software Development for Windows Vista Can't register Windows SDK RC1 (5536.0.2) with Visual C# Express Edition

    Hi, Environment: Windows SDK: RC1 (5536.0.2) .NET 3.0 Runtime: RC1 (4324.17) Orcas Tools for .NET: RC1 When I try to register SDK with VC# Express by going to Start --> All Programs --> Microsoft Windows SDK --> Visual Studio Registration--> Register Windows SDK Directories with Visual Studio 2005. I get a message indicating I must have "Visual Studion 2005 or VC++ Express edition installed". The documentation for Windows SDK (RC1) however indicates that it can be used with VC# Express edition. Anyway I can get it working with VC# Express thanks Anil Thanks Willy. Can I find this info anywhere to be sure which version of SDK is for VC#. I know that the Be ...Show All

  • SQL Server Better MDX Query in 2005?

    I've worked on several analysis services and reporting services solutions but this has me stumped. I have an X,Y scatter chart in RS that needs to hit a cube. So I need an MDX query that returns something like this: DiseaseAbrev Pathway Feasibility ADD 2.7 1.9 XS 4.0 1.0 YYY 1.4 2.0 The goal is to have two columns, Pathway and Feasibility, that contain a weighted measure that is calculated by summing a set of other measures times a weighting factor. The Disease Score Type dimension has a parent-child hierarchy set up so that Pathway and Feasibility are two members who roll up the weighted leaf members. When applied to the Score measure (see query below) this gives me what I want. SELECT ...Show All

  • Visual FoxPro Combo Quick fill while combo is expanded.

    Hi all; I have a class which uses code Marcia Akins posted here (Thanks Marcia). The code uses the InteractiveChange of the combo in order to produce a quick fill functionality. The problem: This won't work when the combo is expanded. I've tried to utilize the kepress method but it didn't work. Is there a place I can disable the inherent functionality of the combo when its expanded so it won't interfere with the quickfill functionality Thank you all. * Not tested but you might try this in the GotFocus() event: if mdown() nodefault() endif Or something similar *might* be a starting point. ...Show All

  • Visual Studio Express Editions Anti-Cracking Packers?

    Not to beat a dead horse, but after reading some of the threads about decompiling and the abundance of tools such as Reflector, I am just looking for some opinions. I am a newbie coder and just learning and through various googles on various topics, I've seen companies that claim to produce .exe packers that either prevent or make decompiling/cracking a vb or any .net application harder to do. Anyone ever try any of these Would anyone try one of these things   xwinterx wrote: Anyone ever try any of these Would anyone try one of these things Take a look at Dotfuscator...it is the premier tool in code protection: http://preemptive.com/products/dotfuscator/   dotfuscator ...Show All

  • Visual Studio 2008 (Pre-release) Howto change appearance and/or behavior of window caption and borders

    Is it a possibility to change appearance and/or behavior of window caption and borders (non-client area) using features and APIs of WPF (something like templates etc). Documentation and internet searches gave me noting about this. It will be wierd if developers will still have to deal with WM_NCPAINT, WM_NCCALCSIZE and all that stuff. Ok, you can create your own "non-client" elements, but as I know, there are problems with appearance and feedback. For example, mouse window resizing implemented manually (especially at top-left corner) causes hard flickering. Also there are some issues with window dragging using mouse and GDI+ DCs etc. That is why all serious 3rd party component libraries for Wind ...Show All

  • Visual Studio end-users can design/redesign/relayout fields in reports

    Is there any feature in Crystal Reports for VB 2005 where end-users can design/redesign/relayout fields in reports as per their convenience I looked at FAST REPORTS on DELPHI & found this feature available to end-users to GROUP/ SORT report data as per their needs. Alex ...Show All

  • Windows Forms DataGridBind to a BindingSource which contains custom class

    Dear Community, I have difficulty getting Datagridview to display a DataGridViewCombobox. Generally, i have two DataGridViewTextBoxes and a DataGridViewCombobox. The datagridview datasource was binded to a class called Item. Item object contains variable such as promotion, id, name and and it contains properties, so the data would automatically bind to the datagridview. The datagridview was autogenerated by the wizard and the DataGridViewComboBox read from DataPropertyName = Promotion public int ID { get { return _ID;} } public string Name { get { return _Name;} } datagridview have no problem showing the above variable, except for the DataGridViewCombobox. I dont know what r ...Show All

  • Visual Studio VSIP - Path to selected folder

    I am having some problems figuring out how to get a Path to a selected Folder. By path I mean Full Path. Or at least something that would get me there. Currently my code looks like this ( in the Exec method, so i know my item is selected, and my command fired ). I am aware that ON the UIHeirachyItem I have no path, however, I should be able to navigate to the project Item, and get the path from there, and attach my items name to it. ( Perhaps there is a better more reliable way ) In any case, my projectItem is always returning null, and in any case, i have no guarentee i am acutally accessing the project item, so I would appreciate any help. Thanks. try { UIHierarchyItem fld = firstSelectedUIHierarchyItem(); // _applicationObj ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XInput Common controller 32 bit wont install

    Hi I need to use XInput for a program I am writing in VB.NET 2005 (to use the xbox 360 controller). However I am not sure what software I need to download. I thought I needed the Microsft Common Controller 32bit but when I tried to install it, it says "Installation did not complete" Please help me! Thanks Mine said the same thing when I installed it but when I plugged in the controller, it worked fine. Have you tried plugging the controller in, even though you got the message My thinking was that the DXSDK or something else installed the driver already and the error is just from the driver already being there. ...Show All

©2008 Software Development Network