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

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

Ian1971

Member List

farsh
SomE matriX stYles
Closer
Kardi
jason duncan
djchapin
Thomas.Goddard
Bumper
pmsc
naicul
Hanspeter
AdamB78
bharathi_tunes
mAh3u
Nigel Harper
Greg Wilkerson
partha mandayam
simdoc
mta37
michael olson
Only Title

Ian1971's Q&A profile

  • Visual Basic sum of numbers

    Hi Im trying to create a program that when btnEnter is clicked an input box appears that asks the user to enter a positive integer value. When the OK button on the input box is clicked, a message box should appear with the sum of all of the integers from 1 to the value entered by the user. Here is what I have so far but I'm stuck: Dim userinput As String ' User Input Dim sum As Short ' To hold the sum Dim count As Short = 0 ' Counter initialized to zero Dim userNum As Short ' converted user input userinput = InputBox( "Enter A Number" , "Number" , "10" ) Do While count <= 0 userNum = userinput Loop MessageBox.Show(userNum) End Sub ...Show All

  • Visual Studio 2008 (Pre-release) Binding of a visual to a parent of a page

    I have an application that dynamicly load pages into the main window. In my main window i have an MediaElement that always is loaded. It looks something like this: <Window>   <Canvas x:Name="MainCanvas">       <MediaElement x:Name="mediaplayer" Source="blabla" />       <Canvas x:Name="LoadDynamicPagesIntoThisCanvas" />    </Canvas </Window>   Now i'm trying to create a rectangle that has a visualbrush that is binded to the MediaElement, like this: < Rectangle Height = " 200 " Width = " 200 " >   < Rectangle.Fill >     < VisualBrush Visu ...Show All

  • Visual Basic Strange vb temp file problem

    Hi there Has anyone ever encountered vb6 creating temp files when the user navigates through a program A friend of mine is boggled by her vb6 app that mysteriously creates lots of tmp files as people uses the program. This has caused the server to create thousands of these tmp files, which are all empty. I have no idea what could be causing this especially since there is no explicit file handling in the code of the app. Any ideass Mike Oops, my bad...wont post those quizzies here in the future :) Thanks for your help though. I will inform the developer of this Regards ...Show All

  • Visual Studio Express Editions Compute Column in DataGridView Control

    Hello, I am building a pretty common control where the user enters the sale price and the quantity desires, then a column should sum the total price for that item. I have a form with a DataGridView control called "DataGridView1". It is bound to a table adapter which includes a column called "LineTotal". The other columns that should be multiplied together are called "SalePrice" and "Quantity". Many people have pointed to using the Expression method/property of the DataColumn object. I am confused as to the difference between a DataColumn and the DataGridView control. As a test, I wrote the following code to try out one approach. The column is added to the datagridview control, but it is a ...Show All

  • Visual C# Problem in fetching the values from the .Config file in COM+

    Hi, I have created a COM+ component using C#. in this i am fetching data from the SQL2000 database. the connection string is in the App.Config file. problem: When i try to open the connection from COM+ component to perform any kind of operation i am getting the following error "The ConnectionString property has not been initialized." please give the solution if any one knows ASAP. OS: WindowsXP Language: C# .net 1.1 third party tool : ORM.Net for dataAccess layer thanks & Regards Pramod Hi, Thanks for the replay. :-) , but my problem is still not solved. Below discription will give you a better understanding i think.. The .config file is at the ...Show All

  • Software Development for Windows Vista How to design my application?

    Hi all, I must write a new application using workflows but i'm a little bit lost. There is two programs: One for design workflows and another to run them The application that runs workflows is a buisness application, but the application that design workflows is only a design application ( a tool that generate buisness applications). In my workflows, I want to be able to use rules that take in parameters buisness objects. that are not accessible from de designer application. First of all, is it possible I've looked at the policy Activity. May be i could make a ruleset from the buisness application and use it in my designer.. Is it a good idea Thaks for helping me being more confortable with WF! HI。 ...Show All

  • Visual Studio Express Editions Registration Problems Please HELP!

    i need help becuase i download the visual basic 2005 express edition program and i can't register it becuase when i click the link in it it says page cannot be displayed, it has been like that for a long time now. i have tryed 2 different computers adn the same thing. the link it gave me was: http://go.microsoft.com/fwlink/ linkid=51341&1cid=1033&h=1f680fd8b558c3e4&c=&pid=76541-000-0000011-00124&bn=050727.42  and then it askes for me to sign in..then it does nothing at all. i tryed my firewall by turning it off and on and tryed different computers. someone please tell me how i can register i need to use it! the page is an FAQ page. Try here: https://connect.microsoft.com/site/sitehome.aspx SiteID=40 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. HLSL shader(s) using CPU instead of GPU

    I am using D3DXCreateEffect to create a vertex and pixel shader HLSL effect. The process I use to create and activate the effect is the same every time, I am only changing the pixel shader code, and here's what happens: My program renders about 50 fps generally with CPU usage around 4% and when I do a trivial RGB to BGR color swap with the following shader, this usage remains: PS_OUTPUT RenderScenePS( VS_OUTPUT In ) { PS_OUTPUT Output; // Lookup mesh texture and modulate it with diffuse Output.RGBColor = tex2D(MeshTextureSampler, In.TextureUV) * In.Diffuse; float r = Output.RGBColor.r; Output.RGBColor.r = Output.RGBColor.b; Output.RGBColor.b = r; return Output; } So with this shader the rendering does a dynamic RGB to BGR swap ...Show All

  • .NET Development Email Proxy Error with MailMessage

    Hi, I'm using VB .Net 2005 and am experiencing intermittent email proxy errors using the System.Net.Mail.MailMessage class. Shortly after sending the email I receive the following error message from the Symantec email proxy: “Your email message to (recipient) with the subject (subject line) was unable to be sent because the connection to your mail server was interrupted. Please open your email client and re-send the message from the Sent Messages folder.” Additionally, the error code that is displayed in the Symantec error window is 1003,9. Interestingly, the error does not always occur, and there is no discernable pattern as to what causes the problem. If I turn off the Symantec email scanning the ...Show All

  • Software Development for Windows Vista display interlaced video

    hi, I have a HDTV capture card that always combines two fields into a frame, i.e., it will generate a 30fps video at 1920x1080 for a 1080/60i input. The interlacing effect is very noticeable in the video render. Is there any existing de-interlacing filter for DirectShow The only one I found online (from alparysoft.com) does not work with HD (it seems). Note that I need a real-time solution. Ideally, I would like to display the video at 60Hz (instead of dropping half of the resolution). Given the 30fps input from the capture filter, is there anyway to "double" the frame rate in a filter graph Finally, a simple question about graphedt, is there anyway to show the actual video format being used in a filter graph through the UI I alw ...Show All

  • Visual Studio Tools for Office help needed regarding adding a contact item into outlook contact item

    hi, please help me regarding how to add a contact into outlook contacts folder if I hace a vCard(.vcf) file. And also please help me how to get the list of items which are deleted over perticular period of time. We are using visual studio 2005 and visual c++ 6.0. And please suggest which platform is easier to code for outlook. looking forward for your earlist reply. Raja Pratap. Dear Ian, From the deleted Items we are able to retrieve only soft-deleted items. Soft deleted means, the deleted items sent to deleted items folder(same when user uses 'DEL' key). But the thing is we need to trace the permamanently deleted(like SHIFT+DEL) items as well. thank you, -- Pratap. ...Show All

  • SQL Server Dataset filtering... how?

    Hi all, I want to create a summary page for one of my report, depending on a parameter, I would like to filter the dataset before creating the summary fields. I cannot figure out how to perform this filtering, my approach has been to insert a Table control and map it to my dataset, then try and do some filtering via the properties. When i then put something like =sum(Fields!Sales.Value) into the header (such that it is shown only once, not repeated), I get the sum for the full dataset, not the filtered one. Please help, is there any easier way todo this Lastly, I can't filter at the SQL level as the dataset is being used to populate a chart below the summary. Advice welcome. Please help Taz Put the filte ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to get more frame rates

    hi im using vb.net with managed directx..... i read article saying that managed dx gives 98% performance of original one. i run in windowed mode and disply box is on a picture box i am currently developing a cad like application. the problem is when i have more shapes its getting slowed down. i have done only lines, rectangles and circles. i take the mouse click points and store the shape info into a datatable and while rendering, loop thorugh the datatable and render em. for cirlce im using a for loop from 0 to 30. previous i used 60 but it was getting slowed doen fast. how do i improve my frame rates. im a total newbie and i need ur help. You will need to tell us more about what you are doing but in ge ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Riemers.net -- 4th Series finished: Final screenshots

    Hi all -- I've been working on a 4th Series of XNA Tutorials, which deals with advanced terrain rendering. This series is completely new; it is not a translation of one of my MDX series. The graphical part of the series has been finished, so you can already have a look at some screenshots: XNA Tutorials Series 4: Advanced terrain You can expect the first chapters somewhere next week. I first have to clean up some code and get the skydome exported to a .x file! If you have some experience with this, head over to this thread please.   ps: you can find links to 2 larger screenshots in the 3rd paragraph. AMAZING! Keep cranking these out and we'll keep eating em up. My only recommendation to this alr ...Show All

  • Visual C++ Edit and continue does not work (for me) with VC2005

    Since "up"grading from VS2003, I have been unable to use edit and continue. Whenever I try, I get the error message: "Project : error PRJ0046 : Could not spawn command line because the one specified was empty." Are there any suggestions about getting this to work I'm very surprised that VC2005 doesn't just work out of the box. (This was never a problem with VC2003.) Apart from the scenario with a mapped drive, there must be some other problem, because we can't use edit and continue too here although we never had source code & project on a mapped drive. I couldn't yet figure out the root cause for our problem here, but it's definitely not the "mapped drive problem&qu ...Show All

©2008 Software Development Network