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

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

mteverest

Member List

GazNewt
GoDaddy
Hammo
Seefer
Kevin Hoffman
Rattlerr
Jason Wilborn
Luispekos
Deepak83
Cathie 64
icecroft
ItsMe!!!
Selectis
Zamial
Debbie M
cygnusx
Mallyk
Will Riley
AndyMac
Flakky
Only Title

mteverest's Q&A profile

  • Visual Studio 2008 (Pre-release) HwndSource & the Adorner layer

    I have wired up an MFC app to display a WPF panel as a view using the HwndSource mechanism. It all works fine, except nothing on the adorner layer (which I use extensively) is visible. Is this a limitation of the integration technique or is there some way I can see adorners Thanks, Jeremy Update: My current experiment is to draw the adorned element and then, on top, draw the portion of the adorner layer which overlays that element. (The adorner layer is generally larger, sometimes much larger, than the element which it adorns, which makes sense since it could be used for multiple adorners.) This works well in the simple situation when the content is at 0,0 relative to the adorner layer. However, whe ...Show All

  • Visual Basic Replacing forms

    In my program, It will be organized into forms that you can click a button and take you to another one. However, I can figure out how to make it so that when I click the button to take me to the next form, to make the original one disappear. This will be a major part of how you get around in my program, but if anyone can help, please do! Thanks ok heres the code, Private Sub button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click form2.Show() End Sub Changing form2 to whatever the form is that you want opened when the button is clicked, and button1 with the button's visual basic name. ...Show All

  • SQL Server Data flow source that will take a string variable with csv structure?

    I am able to use a custom script task to receive a MSMQ package and save the package contents to a flat file. I can also use the bulk load task to push the flat file contents into a SQL table. However, I would like to save the package contents to a variable (done, it works), and then pass that string variable to a data flow task for SQL upload. In other words, I don't see any reason to persist the msmq package contents to disk. My question is: Which data flow source can I use that will accept a string variable The string variable will then need to be processed with bulk load or an execute sql task. Btw, the content of the string variable is a csv style string: "01001","11/21/2006",15 "01001",& ...Show All

  • Software Development for Windows Vista Custom deigner rehosting does not show activity when dragged and dropped

    I have created a form with a sequential workflow designer on it When I drag an activity from the toolbox the activity does not show up, but its properties do show on a property grid What do I need to do to show the activity when it is dragged and dropped from the toolbox Hi Philip, Have you checked out the Re-Hosting the Workflow Desinger sample ( http://msdn2.microsoft.com/en-us/library/aa480213.aspx ) Please let me know if you have further questions. Thanks, Maggie ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. telling the difference between xbox 360 and pc

    Is there a way for your game to detect what environment it's running in (eg 360 or windows) There are some environment specific issues I want to play with. I guess this is a little premature since we can't compile/export to the 360 yet. mpipe wrote: Thanks for the answer. Another question. How do you create different build configs in Visual Studio Do I just make custom MAKEFILEs I apologize for my ignorance. I'm new to C# and visual studio. My last post in this thread shows how to turn on build configurations in C# Express. Cheers, Leaf. ...Show All

  • SQL Server Getting "extremely complex query" error when using xml data type parameters

    Good morning, I am trying to figure out, and understand, why I am receiving the error that I am when I use xml data type parameters. If you look at the proc below, I have a proc with 8 xml data type parameters. When i call this proc adn pass in the values for the parameters, I recieve is the following: The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information. In debugging, I found that I DON'T get this error if i have ...Show All

  • Windows Forms Designing Form at Run time

    Dears How can I make a control that able me to design form at run time, this control will work such as VB design time, for sample : you can select text box and move it to the new position , It is most important to not to use the API function , this control must run with VB.Net 2003 . How can I do it You can access form's controls (To edit, add or remove) with Me.Controls (or this.Controls for C#). So to add a control : Dim TxtBx As New TextBox TxtBx.Location = New Point(10, 10) TxtBx.Name = "txtbx" Me.Controls.Add(TxtBx) To revove : Me.Controls.Remove(Me.Controls("txtbx")) To edit : Me.Controls("txtbx").Text = "MSDN" (If you want to access a special property for a specific type of controls, e.g. a special prope ...Show All

  • Visual Studio Team System Updated Documentation \ 2006-07 Refresh

    Hello, We have published updated documentation on the Web on MSDN. This update includes updates suggested by you, the users. Thank you again for your suggestions and patience, and we look forward to the next round of documentation updates. Here are a few highlights from the new documentation: Web Tests: http://msdn2.microsoft.com/en-us/library/ms182536(VS.80).aspx Added Web service test data binding information: http://msdn2.microsoft.com/en-us/library/ms182546.aspx Updated C# code and added Visual Basic code (validation rule): http://msdn2.microsoft.com/en-us/library/ms182556.aspx Updated C# code and added Visual Basic code (extraction rule): http:// ...Show All

  • SQL Server recursive query

    Hi guys, this is a weird query i need to build, or it can be an stored.proc, whatever's easier I have a table Item_ID Item_PARENT_ID --> references "Item_ID" Item_LEVEL --> 0 = top, else 1, 2, 3, 4 Item_NAME Item_START_DATE Item_END_DATE I would like to populate a gantt like chart, I have this table and need to generate an output ORDERED BY DATE BUT "PER LEVEL" how should it look like ID | NAME | PARENT ID |LEVEL|START DATE 1 topitem 1 - 0 01/01/01 9 subitem 1-1 1 1 09/01/01 3 subitem 1-2 1 1 15/01/01 2 subsubitem 1-2-1 3 2 01/01/00 7 topitem 2 -- 0 02/01/01 and so on. So this is a tree structure, ordered a. By top's date b. by sub date c. by sub ...Show All

  • Windows Forms how to sort the date in as array

    Hi All, I want the general method which sort array containing dates irrespectiv of wether the day is first or month is first wat ever, as u all know that will depent on client what they select. and how if they select 01/jun/06 like format .....how to format this array of dates. Thankx sha Well that's sounds good idea for mee....cgraus but i have one question. once i create an array of date like dim DateArray() as DateTime and i insert dates in it will it sort automatically. / if not plz tell me if any other way .... thankx sha ...Show All

  • Windows Forms UserControl doesn't update

    I found that if you modify a user control constructor then a usercontrol used before this modification won't be affected by those modification. Here what i did: 1.I create a new windows form project. 2.In this project I create a second windows form project where i add a user control. The second project is built before the first project. 3.In the first project toolbox i add an item from the second project debug "exe" folder (to add the usercontrol i have just created) 4.I add the new usercontrol to the windows form of the first project On execution evething works fine 5.I modify the usercontrol constructer .Now It backColor is Wheat and almost half transparent public processusButton() { InitializeComponent(); t ...Show All

  • Visual Studio Express Editions My.Settings file location

    Hi. Is there an easy way to change the location of user config files without having to re-write the entire settings class and provider Reason: I'm the only user of my PC, and I do a lot of small samples that never make it to real life (at least, not on their own.) Usually when I'm done with the test/sample project it's deleted or at least never used again. Then I have several unused user configfiles floating around in the Application Data folders. What I would like was, to be able to save the config files in the bin folder, so if I choose to delete a solution, the config files are deleted as well. I have no need for individual user files. Just one. The Application Settings would be ideal, except that they are read-only. Is ther ...Show All

  • SQL Server ReportServer DB and ReportServerTempDB databases

    Hi all, Is it possible to cleanup ReportServer DB and ReportServerTempDB by setting the time interval For example, I want data in these two dbs to be deleted automatically after 5 or 10 minutes. How can I do that because as new reports are added and executed data goes on increasing in very short time and hurts performance. Thanks, Prashant You need CleanupCycleMinutes in rsReportServer.config -- The default is 10 minutes. <don't get me wrong here...> It doesn't really sound like you know whether large orphaned snapshots are a perf problem in your scenario...by definition, they shouldn't be, as they are just blobs sitting around doing nothing. Even if you clean up more often, there' ...Show All

  • Windows Forms Textbox scrollbar

    I have a textbox set to multiline and am adding content by code. When the text gets to the bottom of the textbox is there a way to make the scrollbar automatically move down to read the current text as the text is added to the text box In the TextChanged event of the textbox, private void textBox1_TextChanged( object sender, EventArgs e) //Fired when text changes { this .textBox1.Select(0, textBox1.Text.Length); this .textBox1.ScrollToCaret(); } ...Show All

  • Visual Studio 2008 (Pre-release) Changing the WS-Addressing values on the client and server

    Hey Everyone, Is it possible to set the WS-Addressing 'Action' and 'To' fields on the client side when the request is being sent and when the reponse is being returned within WCF I'm currently doing this within WSE via the 'RequestSoapContext' field on the client side. Eva There should be; my best guess would be there's now some problem with Actions on the messages... the security channel uses the Actions of the contract description to decide which messages need to be signed/encrypted, and so if you're using a different Action/ReplyAction than that declared on the OperationContract, that could be the culprit. If that doesn't help debug the issue, let me know: which binding are you using, and what excep ...Show All

©2008 Software Development Network