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

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

Chimme

Member List

Mongsreturn
japt
Ivan.Drew
Seefer
Turfnsurf4me
Sir Robert Michael Murray Sr.
Steve!
KBOZEK
mharoun_ca
Michael Reynolds
vc#tyro
ibbm
pardgr8
YorickPeterse
gafferuk
Blader
windoze
ehsan sadeghi
fschaller
Joel Hensley
Only Title

Chimme's Q&A profile

  • SQL Server Getting the uniqueName and name of members in a Calculated set?

    I'm trying to do this to have a somewhat dynamic parameter value list in Reporting Services 2005. I need to be able to show Customer.Territory or a different type of Territory (this will be determined based on another parameter). When running some initial mdx I get the error: The CURRENT function cannot be invoked in this context because the 'aa' set is not in the scope. I'd prefix aa with Customer, but there are multiple attributes in Customer, and I'd then need to respecify which attribute I'd want to be accessing - this would defeat the purpose of the set. I need the ending name "aa" to always be aa (for Reporting Services), so Customer.Territory.aa or Customer.TerritoryType2.aa would not be static. with set aa ...Show All

  • Visual Studio Express Editions Display IP as A Label and start a remote session using netmeeting

    Hello, I am working on a windows app project and can't find the right code to display the local IP address in a label. Can anyone help Also I am need to start a netmeeting application share Thank Donnie Dim adapters As NetworkInterface () = NetworkInterface . GetAllNetworkInterfaces () If adapters . Length > 0 Then Dim adapter As NetworkInterface = adapters (0) Dim adapterProperties As IPInterfaceProperties = adapter . GetIPProperties () Dim addresses As UnicastIPAddressInformationCollection = adapterProperties . UnicastAddresses If addresses . Count > 0 Then Dim addr As UnicastIPAddressInformation = addresses (0) ...Show All

  • Windows Forms how can i make ProgressBar synchronous with process of my app???

    Hi all i have an app and i want to display a progress bar which synchronous with process of my app when my app are retrieving data from database. How can i do that Please help, thanks Thanks for your answer, but i think i have seen some app was syn its progressbar when retrieve data , if the progressbar doesn't syn with data access , can you tell me exact what they do... Thanks. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA on Original Xbox?

    Back when XNA was first announced at GDC 2004 it was said that XNA would be a unifying environment for both original Xbox(and future versions), PC and mobile devices. With the XNA framework now available for the Xbox 360 are there any plans for supporting the original Xbox I know there are about to be 10 million Xbox 360 consoles shipped by the end of this year, but as of last May Microsoft said they had shipped at least 24 million Xbox consoles worldwide. It seems like it would be a good idea to also target that larger audience that has the original Xbox console, no BTW, I did read the FAQ and found the following entries: Q: Is the XNA Framework available on non-Microsoft platforms A: At this time, the XNA Framework is only avai ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Issues rendering a triangle

    I understand this is beta and the docs aren't complete, but the docs are very limited. I'm attempting to render a triangle to the screen and am failing. I was hoping for basic code as was provided with MDX. Currently I get a cornflower blue screen but nothing is rendered. I've attempted taking the vertex declaration out of a using clause, and that did nothing. Any ideas I figure I must be missing some setting somewhere. Here's my draw function: protected override void Draw() { // Make sure we have a valid device if (!graphics.EnsureDevice()) return; VertexPositionColor[] triangle = new VertexPositionColor[3]; triangle[0] = new VertexPositionColor(new Vector3(-1.0f, 0.0f, 5.0 ...Show All

  • Visual C++ Unexpected operator function call.

    I have a class with overloaded operators. The most basic example I can create is as follows. //class.h class testclass { private: char cbuf[50]; public: testclass(){cbuf[0] = '\0';} testclass(char* pchar); testclass operator+(testclass& nclass); testclass operator+(char* pchar); testclass& operator=(testclass& nclass); testclass& operator=(char* pchar); operator char*(); }; //class.cpp #include <string.h> #include "class.h" testclass::testclass(char* pchar) { strcpy(cbuf, pchar); } testclass& testclass::operator=(testclass& nclass) { strcpy(cbuf, nclass.cbuf); return *this; } testclass& testclass::operator =(char *pchar) { strcpy(cbuf, pchar); return *this; } testclass tes ...Show All

  • Microsoft ISV Community Center Forums Help to create a new table using VBA codes

    Hello All, How to copy a structure of an existing table to a new table and also i need to change a particular field in that table to Primary key. (in MS Access) i can create it using gui but i need it in code. Please help me for this code. Thanx in Advance Madhan Hey Madhan, VBA is really a different flavor of Visual Basic (but not VB.NET) thats revolves around an application. For example VBA in Excel is Visual Basic but geared for Excel, VBA for Access is the same but for Access. To know VBA for these you need to know how the application works, you need to know Excel pretty well in order to use it's VBA. The best thing you could do is pickup a beginners guide to Visual Basic, but not VB.NET which is completely differe ...Show All

  • Visual Studio Express Editions TabControls

    Simple question. How do I change the name of the tab So that I can name the tab instead of seeing Tab1. Thanks. If you are setting the tab text as a constant string through out the life of your program then you could just set it in the designer. If you are wanting to set it at startup of your app then place it in the form load event ...Show All

  • Windows Forms interacting text boxes & events question

    hello: I have a user form in vb.net 2.0. When a user enters a price in one of 10 price fields, their corresponding percent fields and dollar fields(which are read only fields) are computed based upon the change in price. These computations involve a cost and a quantity field also on the form. In addition when either the cost or quantity fields are changed, all read only fields of the 10 price fields must change since these computed fields involve cost and quantity. So I have an event each time a price is changed to compute that price's read only fields, and I have an event to change the read only fields of ALL the prices if the cost or quantity fields are changed. I was thinking of putting these in the validating event routines ...Show All

  • Windows Forms Dialog result without closing / event handling

    For reference, I'm working in VS Express, C#.  I'll try to keep background short and need-to-know.  Also, my apologies on the font size - I tried to make it normal and apparently I have failed... In my efforts to follow a good OO approach to programming a project, I have created an abstract object called Item (as in an item on a test) with an abstract method Display (which displays the item and returns an int that is the answer given).  I also have a TestAdministrator class that selects the items in a test and presents them to the test taker. Furthermore, in an effort to keep load times to a minimum, I have created an ItemDisplayForm class that gets passed into the Display function.  The idea was to have ...Show All

  • Visual C# system tray application

    how can develop a system tray application in C# 2005 you do not need need to write all of this if you want popup menu when the user right click the icon Notifyicon has poperty called ContextMenuStrip set it to your ContextMenu in designer or via code notifyIcon1.ContextMenuStrip = mnuSysTray; Please if this answer and previous ones answered your questions so mark them as answered ...Show All

  • Visual Studio Express Editions Exception handling with Try...Catch

    Hi, everyone! I began learning Visual Basic about a week ago. I created a small application that will produce a file with numerous sections, with each section based on user input from a few textboxes. Here's my problem: If the user doesn't input anything and simply hits the 'Build' button, I get an exception. I've solved this problem with Try...Catch, though now I get about 25 error messages, one for each section. There must be a better way than let loads error messages (message box) hit the user. Also, one other question: Is it possible to do syntax highlighting for an application created in VB Or would it be too slow Or maybe just give the user the option to decide... (pseudo) input("have you filled in all the boxes &qu ...Show All

  • Visual C++ const_cast and mutable

    Hi All, Anybody can give some realworld scenarios on using const_cast and mutable objects einaros wrote: I actually prefer using mutable members to const_cast'ing this, to clearly tag which should be changable (and not accidentally touch another). To elaborate somewhat, by "tag" I mean to restrict library internal usage, not for the rest of the world to see. I always assume that everyone is coding by the "keep member variables private"-guideline :) ...Show All

  • Visual C++ Can you use C++ dll files in C#?

    The title probobly isn't very descriptive, but that was the best I could think of :\ I've noticed that the 3 managed languages (VB, C#, J#) can all "assimlate" eachother. That meaning, you can, say, create a .dll file in any language, and reference it in any of the other languges (which I know at compile-time or whatever, it converts the .dll to the native language instead). But, is this possible with Visual C++ I've seen a few threads of how people can use C++ .dlls, and then use them in their C# applications. So, how would you go about this Do you have to create a managed C++ application And/or have to tinker with the .dll's assembly, or something Thanks. EDIT: Also, is using a, say, C# .dll file in a C++ application possi ...Show All

  • Windows Forms Formatting Rows in Datagrid based on data in the coresponding row of datatable

    I want to format Rows in my Datagrid based on data in the coresponding row of its datatable (including columns in the datatable which are not displayed in the Grid). I have set up a DataGridTextBoxColumn class and it works. My problem is in the eventhandler that decides which colours to use I have the following code dgrid.CurrentRowIndex = e.Row 'select the row of the datagrid that is being formatted 'Now get the coresponding row in the source datatable Dim bm As BindingManagerBase = dgrid.BindingContext(dgrid.DataSource, dgrid.DataMember) Dim dr As DataRow = CType (bm.Current, DataRowView).Row 'now based on data in the row of the datatable (not necessarily displayed in the datagrid) format the row If dr.It ...Show All

©2008 Software Development Network