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

Software Development Network >> Shrek.NET's Q&A profile

Shrek.NET

Member List

spot9969
pdurbha
Kevin Dente
Julian V
atomic
elvis8900
aspatz
pharaonix
LpAngelRob
doener
Mike33333
RyanB88
Praveen_wm
Joe Lucas
IGiberson
slies
shmulik_segal
flandercan
FranklinBAH
TRID
Only Title

Shrek.NET's Q&A profile

  • Visual Studio Express Editions Button Click within a for each loop

    Fairly new to VB express. Is it possible to have a button click event from within a for each loop on a form i.e. the button being clicked refreshes the form and moves on to the next iteration of the loop Any suggestions welcomed. Right I have achieved what I asked for all be it in a different fashion, the solution does what I was asking for. The code is as you said works well Public Class Form1 Dim myOtherArray() As String = { "Bob" , "Beth" , "Conrad" , "Grant" } Dim thePlace As Integer = 0 'this is your global variable   Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Me .thePlace < myOtherAr ...Show All

  • Visual C# Pinnable Panel

    Visual Studio Dev Enviroment is using pinnable panels. Those controls cannot be found in framework 2.0. How is it possible to use pinnable controls like Visual Studio Dev Enviroment without using 3d party libraries like DevXpress, Infragistics e.t.c. I have a strongly need of using pinnable panel in my application without having to reference other external libraries. As far as I know, it's not. However, there are a number of open source controls available that would help you do this, why not check out http://sourceforge.net/projects/dockpanelsuite/ ...Show All

  • Windows Forms Need a Working Sample of DataGridView Link 2 Tables

    hello, I need working sample of a datagridview showing a relation between 2 tables as a link. I have 2 tables in my dataset. Table RNT_PETICIONES which has a COD_PERSONAL external key, and the RNT_PERSONAL table also has COD_PERSONAL as primary key. I have the DataSet in my project and the relation are corretly set. But when I bind PETITIONS to the datagrid I do not see the sub-link of the CLIENT table. I also tried doing this manually with no succes. Please post sample code here as I'm restricted to only microsoft.com -Thank You P.S. What I'm really interested in doing is getting varous columuns from different tables and showing them as 1 table in the datagrid, being able to edit the datagrid and saving the data to the cor ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rendering To Textures in Beta2

    I used Texture2D's heavily with the usage RenderTarget, however in Beta 2 its like a whole new API. I understand that Surface no longer exists and RenderTarget/2D should be used. The problem is, the whole mentality is backwards compared to what im used to. From what I see I should create a RenderTarget2D and set that as a render target, then do rendertarget.GetTexture() if I want to set it. Thats fine. However, how do I copy between render targets There is no StretchRect or equivelent function I can see, which I used alot before. Surely I dont have to go about getting a texture, setting it, creating a 'copy' effect, setting a new render target, resolving the new render target just to copy from one to another Is there no alte ...Show All

  • Windows Forms synchronize time?!

    Customers want to have their time on theirs laptops, Blackberries, PC’s synchronize. Is there a way to do that ...Show All

  • Visual Studio 2008 (Pre-release) DragSource_PreviewMouseLeftButtonDown seems to stop my GridViewColumnHeader.Click from firing on listview

    I added Pavan's drag and drop classes to drag from a listview to a canvas. I had to modify the generic event a bit to make it work for listviews. Now I am trying to add column sorting to my listview using the example that came with the SDK. My listview sorting only works when I take the drag/drop functionality out. It seems like that functionality is blocking the click event from happening. Any ideas static void DragSource_PreviewMouseLeftButtonDown( object sender, MouseButtonEventArgs e) { // Make this the new drag source IDragSourceAdvisor advisor = GetDragSourceAdvisor(sender as DependencyObject ); if (advisor.IsDraggable(e.Source as UIElement ) == false ) return ; ListView lv = (( ListView )(e.S ...Show All

  • Visual C# Validating XML and bool problem

    Hi! I'm creating my own xml file and I'm again reading it back but before reading it I want to validate it against my xml schema. Creating (saving) and reading works well. However validation doesn't. When I'm creating the xml file I'm storing to some element value of bool variable with method ToString(). e.g.: bool var = true; element.InnerText = var.ToString(); Problem is that if var == true then var.ToString() returns string "True" - not "true" (false exactely the same). And than the validation failed because "True" isn't valid value of Boolean type. Thanks a lot everybody who has some suggestions. Mike. ...Show All

  • Microsoft ISV Community Center Forums Excel Chart: How to change chart data source formula when object "Series.Formula" is too short?

    How to change chart data source when Formula object is too short I know that: I can assign data source 1) Series.Values=Range(...) - suitable 2) Chart.SetSourceData souce:=range(...)... - suitable 3) Series.Formula/FormulaLocal="" - not suitable because string is too short I can read data source 1) x = Series.Formula/FormulaLocal - not suitable because string is too short The question is: How to read data source not using Formula object Answer to your question: "Why not arrange the data like this " - I thought that it will not be so fine looking and convenient, but found myself mistaken! -) Thank you for your good critical analysis! One problem ...Show All

  • Windows Search Technologies API for finding IID_IGatherNotify for WDS

    Hi All, is there any API i can use for finding the IID_IGatherNotify for WDS2.6.5 or 3.0 Hello Akshay, I hope this information helps. The following is a method that will initialize the Gatherer interface and specify the index to notify and the application store to monitor. Syntax void Init( BSTR bstrApplication , BSTR bstrProject , variant varScopesBstrArray ); Parameters bstrApplication [in] This string specifies the application. bstrProject [in] This string contains the name of the indexer to pass gatherer information to. varScopesBstrArray [in] This optional variable allows you to pass an array of scopes to be initialized. Return Value No ret ...Show All

  • SQL Server Instances

    How to see the no of instances created for my server. if it is sql server 2005 sqlcmd -L : it will list all the instances in the network , you can identify by machine name what all the instance in your machine for SQL 2000 osql -L ...Show All

  • Visual Studio 2008 (Pre-release) Viewport3D custom animations support?

    Is there any way to hook the Render event and draw 3d geometry directly on each frame, simliar to the "Rendering" event and DrawContext.DrawGeometry support that exists for 2d objects in WPF Thanks, Roland Sort of, yes. You can subscribe to the CompositionTarget.Rendering event and play with your 3D object tree then. This is how you can do fancy mesh animations. There isn't a 3D DrawingContext or an OnRender for Visual3D if that's what you meant. ...Show All

  • Visual Basic How to use MS Virtual Desktop in Vb Applicatoon

    Please guide me in the following scenario I am developing c#/VB.net application using Visual Studio 2005. I want that when the user executes my application then: 1- The window should create a new Virtual desktop using MSVD. 2- My application should run in the new desktop. Only my application should be allowed to run. 3- I should have the options to modify the start menu in the new virtual desktop 4- When user close application the virtual desktop should shutdown How can I achieve this I will be very thankful. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What do i need to get started ?

    Ok i have visual studio 2005 and the direct x SDK. Im also armed with my 70-316 mcp (not that it helps) Ive been studying C# now in my spare time for about 2 years and would like to try building a simple game either like sim city / a tycoon style or something like guild wars / warcraft / final fantasy. Im at a loss as to where to get started though !!! Any ideas I've seen the webcasts on the msdn web site but was hoping to get my hands on something a bit more practical. Sites like the one above are ideal :) I didnt realise there was so much math involved in all this gaming stuff, now my brain hurts !!! I thought i had a grasp of C# but this makes it very complex !!! Thanx for the advice guys. ...Show All

  • SQL Server strange refresh of the parameter area

    Hi, I have a couple of parameters on a report that prompts the user. My problem is that I fill a value in the 1st parameter and to fill the next one I have to click twice on the input because of a strange refresh that my browser does when I left the 1st parameter. This is happening for all parameters, not only between the 1st and the 2nd. Do you have any idea how can I make to avoid this because is so unfreandly for the user! The problem is having any code in the default expression, my assumption is you might be defaulting the date. Using VB, or even just =1 is enough for RS to have to reevaluate. There is a solve I found though...convert that to SQL and use a dataset instead. This does not seem to ca ...Show All

  • Visual Studio Express Editions Need help programming the delete key and overwriting in text box

    I'm having yet another issue in my Notepad clone program. I just don't know how to program the darn delete key! When I press the delete key, I want it to delete either the next character or the selected text. Because I am using tabs in my program instead of separate windows, is there a way to make the delete key so that I don't have to program the delete key for the textbox in each tab Many thanks. Another question I have is the INS/OVR (insert/overwrite). How would I go about programming that in the text box One final question, does Visual Basic 2005 Express have a CHM maker If not, where can I get one Otherwise I'll just have to resort to HTML files and run my help feature in Internet Explorer. Thanks again! You can avo ...Show All

©2008 Software Development Network