Software Development Network Logo
  • VS Express Editions
  • Windows Vista
  • Architecture
  • Windows Forms
  • VS Team System
  • Visual C#
  • Visual FoxPro
  • Visual C++
  • Visual Basic
  • Game Technologies
  • Smart Device
  • .NET Development
  • Visual J#
  • Visual Studio
  • Microsoft ISV

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

FMartins

Member List

Amit Chadha
SaurabhKhurana
West
Gangadhar
Rulery
AlaaZaghmout
SC_Rambo
Steve Seeley
thomasa88
sachinsisodiya
monsoondawn
Andreas Goebel
Binoy R B
aninflal
JulieAnne
Alexander Stoyan
Arash.M
balaji1987
JBA123
JonathanEdwards
Only Title

FMartins's Q&A profile

  • SQL Server Writeback

    Hi i am trying to set up a cube with MS SQL Server 2005 that allows me to insert planing data. eg. i have actual data from 2005 and i want to insert figures for 2006. what i did: I have a cube with data from 2005, I enabled writeback in the partitions tab, precessed the cube and i went down to the leaves but i was not able to insert data when viewing the data with the browser. What else do i have to take into account Thanks, Klaus Many thanks for your answer! I was using the analysis server browser. Now i am trying it with excel but i am not into MDX and macro programming. Is there a better a ...Show All

  • Visual C# datarow

    hi,    i already have the data from the database in a datatable. i have a column for date, reghours, othours, status. i want to get the data of a certain date and sum of reghrs(which means there's a possibility that there would be more than one row in a certain date). i have 7.0 in my textbox1. in my textbox2 it will display the difference of my textbox1 and total reg hrs. Hi, For questions related to ASP.NET there is a dedicated forum here: http://forums.asp.net/ Please post questions related to ASP.NET on that forum. Regards, Vikram ...Show All

  • Visual C# Save Combobox items to file (not .txt)

    I have a program which has 46 diffrent combo boxes. The items in these boxes change according to what the user selects (ie Box35 items changes according to what item is selected in box 30). What I would like is for the user to be able to set all the combo box items the way they want, click save, and the program save them to a file (pref not a text file, XML maybe ). I can sort of conceptualize the saving of each "item" of every combo box and writing it to a text file, but I would much rather save it to a custom file or something else (ie a file with my programs unique file extension). I would also eventualy need to be able to popul ...Show All

  • .NET Development How to perform bitwise operation in DataTable.Select(string) ?

    I tried "(status & 16) >0 " and it reported Exception!!! This,however, works fine in SQL server query. I cannot find any good resource about bitwise operation in DataTable. I'm very new to this. Experienced people please tell me!!! On top of my head, you could try status % 16 > 0 and status > 0 It should give you the same "effect", because if will in essence give you the 4 least significant bits. I don't think we support binary operators on DataTable. The full supported syntax is available at DataColumn.Expression --VV [MS] vascov@microsoft.com ...Show All

  • Windows Forms howto create 32bit color ICON?

    please help how to create a 32bit color ICON from a bitmap,jpg,gif file   Well, I have to admit that I have very little artistic skill...  VS works well for me cause I typically capture a screen shot of an app with an icon I like, use a photo editor to paste the screen shot, and then create a 16x16 or 32x32 (or&nbs ...Show All

  • Visual Basic hi,I am focusing on this subject......

    I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as described here:  http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/directX/htm/hostingthevideocontrolinavisualbasicform.asp  and here:  http://msdn.micro ...Show All

  • Visual C++ Trouble making simple program.

    Hi I am trying to create a simple hello world program and its not working. here is what i do i create a empty project and name it "hello" then I right click on the progect icon and go to ADD > Class > C++ > C++ Class the window pops up and I enter the class name "HelloWorld" while I am doing this the ".h file:" and ".cpp file:" auto file with the same name and their own extentions. Thats all i do and then I click "Finish" I right click on "hello" > ADD > New Item... > Code > C++ File (.cpp) give it a name like "hello2" enter the code #include<isotream.h> using namespace std; int main() { cout<<"hello"; retur ...Show All

  • Visual Basic Newbie: VB 2005 Express & Form Inheritance

    Beg pardon, but I'm 5 days into a long journey to learn .NET.  ;-)  I downloaded VB 2005 and bought a few books on VS 2003 to get started. On a chapter concerning form inheritance, and on the Help documentation of VB.NET Express, it looks like I ought to be able to inherit a form by clicking Project, Add Inherited Form.  From reading this forum, it looks like in the Express edition, that menu navigation may have been removed from Beta 2 (which I'm using). Okay, then, it seems like there is another way to do the same thing, but I'm hung up on the actual code changes that lets me inherit one form into another. In my project, I c ...Show All

  • Software Development for Windows Vista Keybord Shortcuts - Big XP Bug

    There is a major bug in Win XP Explorer.  WIth a folder highlighted on the left pane [folder list] try Alt-F, to pull down the File Menu or Alt-E to pull down the Edit Menu.  The pull-down appears for a fraction of a second and the the highlighted folder is moved down the list and the pull-down disappears.  This makes XP a real pain.  I often used use Alt-F R to get file properties or Alt-F W to make a new folder.  Now I must tab over to the folders listed in the right pane for this key combo to work  This did not happen with any O/S before XP.   I know it's like a year since this was fir ...Show All

  • Windows Forms How can I set ListBox.HorizontalExtent to the good value.

    Hi ! I have an owner-drawn listbox on my form. The important properties of the listbox are: DrawMode = OwnerDrawFixed HorizontalScrollbar = True As I see in MSDN, I have to set the HorizontalExtent property to the width of the longest line in the DrawItem event. It is good, if there isn't vertical scrollbar. My DrawItem looks like this: If (e.State And DrawItemState.Selected) = DrawItemState.Selected Then e.DrawFocusRectangle() Else e.DrawBackground() End If e.Graphics.DrawString(Me.myListbox.Items(e.Index), e.Font, Brushes.Red, New RectangleF(e.Bounds.X, e.Bounds.Y, e.Bounds.Width, e.Bounds.Height)) Dim i As Integer i = ...Show All

  • Visual Studio Build path

    How can I set the buildpath in GAT I have made a solution and i want the build path to be set to inetpub\wwwroot, is this possible What do you mean by setting this in GAT You have a project template where you want to set the build output If that's the case, you can do that through the .vstemplate itself. But as you're mentionting wwwroot, I assume this is a web application. In that case, the build path is wherever the web app was loaded from. You should try the VS Extensibility forum, as it's more of a DTE question. ...Show All

  • Windows Forms Dispose method for my class library

    I've made a class library and I want to add a dispose method to it. I've look into the MSDN-help, but I don't understand all this long code including protected overridable methods....... Can't this be done with som simple code. Public sub Dispose() '''what goes in here End sub I've tried whith GC.Collect() and GC.finalize(), but it dosn't seem to work. Any suggestions There is a clear page on MSDN that covers a lot. The Garbage Collector and Finalizing isn't a topic you just learn with what goes in here . Read that page and look at this small example: public class MyClass : IDis ...Show All

  • Visual C++ Compiling libFLAC under VS.NET 2005

    Warning: This is long I'm trying to build libFLAC with Visual Studiio 2005, but can't get more than half of it to compile. I've followed the instructions in the flac documentation word-for-word, but nothing seems to be working. I downloaded/compiled libogg and put it in the proper place, I downloaded nasmw.exe and put it in the project's path (it's in the same dir as cl.exe), and when I go to build, what I get is this: (it's long!) 1>------ Build started: Project: libFLAC_static, Configuration: Debug Win32 ------ 2>------ Build started: Project: replaygain_analysis_static, Configuration: Debug Win32 ------ 1>Performing Custom Build ...Show All

  • Windows Forms Best practice? Use panels or other method?

    Hi, I'm designing a Windows form that is divided vertically by a vertical splitter. On the left hand side is a TreeView. On the right hand side I want to (ideally) display one of two forms and have the form completely fills the remaining area.  The idea is that if a TreeNode is clicked then the right hand side of the screen displays (read-onl ...Show All

  • Visual Basic reading a string from the right until...

    I thought this would be simple to figure out (and perhaps it is), but I’m not finding it. I want to extract the last part of a string and save it in a variable. The string lengths are never the same, but there are consistent separators, as below: home\work\school\neighbor I need to save “neighbor” in a variable. My idea was to simply read the string from right to left and stop at the first instance of “\” but I am having trouble finding the proper way to do this. BTW, I’m using VB 2005 express Sure that can be done.... There are numerous ways of doing this. Heres a function which ...Show All

©2008 Software Development Network