Capella_student's Q&A profile
Architecture Any idea regarding generic UI from Business logic
Any idea regarding for such a framework or design for User Interface in which we can generate UI from Business logic.(it could be for desktop or web based application) Kamii47 wrote: Any idea regarding for such a framework or design for User Interface in which we can generate UI from Business logic.(it could be for desktop or web based application) Funny you should ask! I'm actually working on a pretty ambitious project that leverages the DSL tools to allow a person to generate everything from the data layer up (including stubs for custom business logic) using MDA. Of course, that framework is a ways off but if y ...Show All
Visual Studio Express Editions regular expression in VC
Dear all, As a beginner in Visual C programming I have some difficulties to deal with regular expressions and it’d be nice if you can recommend me a good reference to learn more about how to do such things in Visual C For the time being, I got stuck for searching about solutions concerning the following three cases in my application and any possible help will be appreciated! Case1: I’ve a CString CountryCode variable as following: CString CountryCode = “ Germany +49”; And I need to get the part +49 out of CountryCode and put it in CString PRE variable Case2: Similar to the first case I need to ...Show All
Visual Studio Team System Right Management
Hi, Using TFS I have found multiple places one needs to apply rights to, in order to grant a user access to the various parts of the system. These are: 1) TFS - granting rights within Team Explorer 2) WSS - granting individual user rights within the portal site of the corresponding project (argh! no groups can be applied here) 3) Reporting-Service - ranting group-based rights using the /reports/ directory It would be a very smart thing if the rights-manager within the TFC would have additional attributes for the report- and sharepoint-services aswell and that it would synchronize these rights at least one-way (from TFS to the other tools). I ...Show All
Windows Forms Limit Range allowed in TextBox / MaskedTextBox
What is the best / standard way to limit the range of values allowed in a TextBox I am using a MaskedTextBox to ensure that the user can only enter valid integers. How would I limit entry to values from 0 to 255 Did you try NumericUpDown control Another old good solution is intercept TextChagned event and validate there input, erasing wrong chars or intercept KeyDown messages and filter out everything except digits. ...Show All
Visual Studio Express Editions Caught in the backwash.
I have looked at VB Express. I purchased VB .Net 2002 when it came out, but I always end up going back to VB6. Why I suppose it has more to do with file I/O than anything. I cannot get a handle on the new FileSystemObject. I can never make it work. VB6 is eight years old now, and I would like to move on, but I'm stuck. Well, yes, there are a "few" (well, maybe more than just a few) things that have changed regarding file access, and it can be a bit of a hurdle to figure things out. Once you have grasped the new concepts, though, I believe that you'll find the "new" way more powerful. ...Show All
Windows Forms Richtext box Background Image
Hi as a part of my development Project i need to show a watermark image on the richtextbox.(ie) the image should be transparent.in other words the user should be able to view the text with the background image. There is no background image property exposed. richTextBox1.CreateGraphics().DrawImage(objBitmap,-10,0, new Rectangle(0,0,richTextBox1.Width,richTextBox1.Height) ,GraphicsUnit.Pixel ); And Moreover the image should be drawn Diagonally from bottom left to top right. the above code draws the watermark image but the text is getting Hided(its draws a layer over the text) Pls post me the complete code on how to a ...Show All
SQL Server Strange Problem: .sdf 128MB filesize limit
Hi guys, I have this stange problem after changing .Net CF 1.1 to 2.0. I create the mobile database within the PPC, reading data from text files and use INSERT INTO query and build up the database. I don't recall having the 128MB filesize limit using CF 1.1 but after changing to CF 2.0 for my codes. Dim sqlCreateTableW As Data.SqlServerCe.SqlCeCommand = ssceconn.CreateCommand()sqlCreateTableW.CommandText = "CREATE TABLE MyTbl(id integer IDENTITY(0,1) PRIMARY KEY, data ntext, ref ntext)" sqlCreateTableW.ExecuteNonQuery() Dim sqlIndexTableW As Data.SqlServerCe.SqlCeCommand = ssceconn.CreateCommand() sqlIndexTableW.CommandText = " ...Show All
Microsoft ISV Community Center Forums Custom Date Picker Control
I am developing a form for entering data into Excel and for some of the fields have dates as values. I really like the built-in date and time picker control for this, except that I want to be able to change the background colour of the part of the control that looks like a combo box. And that is simply not possible with the standard date and time picker. How can I get around this problem I have been trying to create a custom control to emulate the date and time picker by combining a standard combo box with a hidden month view control that becomes visible when the user presses the dropdown button of the command box, but have been ...Show All
Visual C# How to play sound from resources?
I can play MySound.wav from my disk, using SoundPlayer media= new SoundPlayer (@"c:\MySound.wav"); media.Play(); But i want this sound was included to my program. I add it to resources. but SoundPlayer media= new SoundPlayer ( CsApp.Properties. Resources .MySound); media.Play(); doesn't work... If the wav header is corrupted then the file that you want to play isn't PCM wav file. (PCM uses an uncompressed and lossless storage method. However, wav files can also be used to store compressed formats such as MP3. The headers in the file differentiate the content type because ...Show All
SQL Server Bug? Err Rows Not Filtering on truncation in delimited file types
I have run into a situation where my file will just error out if the output row is smaller then what is found in CSV file, (in between the "quotes") even though I have clearly specfied redirect bad rows / truncated rows. This is only the case with delimited file types, fixed lengths and xml errors filter fine. Also, if I add a space to the very beginning of the CSV row, it will filter the truncated fine, it is only when I have more spaces/text inside the field than specified in my output field length. IS this a bug Is there a workaround Sample Err I get: (Here I the POBOXCOUNTRYCODE field is set at length=3, but my data is .. ...Show All
Visual Studio Editing Project Context Menu without CTC file
Is there a VSIP managed way of controlling what menu items you wish to have available for your custom project without using the CTC file and a satelite dll One of the issues with using the CTC file is that if we place a menu item in a group that is also used in other projects, that menu item will appear for those other projects as well. As well we want to remove the visibility of some of the standard items that appear but can't seem to find any documentation on how to do so. Any help would be greatly appreciated. Tim Thanks Notre... we figured out the QueryStatus stuff but didn't think about the shortcut key ...Show All
Visual FoxPro please interprete this error
I opened up VFP9err.log file and found a few messages. They are infrequent, I get them about twice a month. They are all the same. What does it mean I think it talks about an OLEdrag. What kind of drag is it Could you explain in detail. Many thanks. Fatal error: Exception code=C0000005 @ 01/11/06 03:21:54 PM. Error log file: C:\Program Files\Microsoft Visual FoxPro 9\vfp9err.log Called from - toolbox.o_1ph0wtk58.otoolcontainer.o_1ph0wtk8t.cmdaction.olecompletedrag line 0 { } It is simply VFP's main error log when the program crashes. It says that you got a C0005 error (the equivalent of the old GPF) and it was caused by the toolbox ...Show All
Visual Basic Event when pressing an specific key
I'm pretty new in VB, and I know most questions around here are much more serious than mine, but after looking a lot through VB2005's help, and search engines, I simply can't find out how to do this simple thing I'm trying to do, and need some help. What I wish to do is exactly what I described in the subject, something happening when I press a certain key in the keyboard after I input a certain code. Example: Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If TextBox1.Text = "password" Then TextBox2.Visible = True   ...Show All
Visual Studio Tools for Office Outlook MailItem
I have developed a COM Add-In in C# for a customer, It adds a toolbar and a button to a mailitem, when the user creates a new mail. I need to get a hold of the cursor location. Based on selections in a dialogbox (winform), the Add-in should insert text at the cursor location in the mail. Anyone got any ideas VBA is not an option. Cheers The closest thing I can think of is is to grab the Body property for the MailItem and append to its contents. This will only work in a sequential fashion. IOW: if the user has finished typing and moves the cursor to a location previously types, things break down. If you are using Word a ...Show All
Visual Studio Parallel build
Hi, I tried to use parallel build feature announced in Whidbey. I created a solution and added several projects (of my own project type) into it. Then I set Tools/Options/Projects and Solutions/Build and Run/maximum number of parallel project builds = 4 After that, I said build solution, but the solution was't built in parallel. What should I do (implement) to support this feature in my package VSIP examples don't support parallel build as well. BTW, if a solution contains at least one MS VC++ project (along with custom projects), parallel build works fine. I wonder why it is happening Thanks, Vadim. ...Show All
