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

Software Development Network >> Josh Smith's Q&A profile

Josh Smith

Member List

Steev
quix ltd
zerocle
HariAdu
Caleb T
krishnapp
Ahmad Golzar
Tryst
Yogesh Kumar
Perry Choy
Carel Greaves
Aleniko29139
Jay K
dhenry
Strini
Fille
MrWolf78
chaza
tsith
Renis Cerga
Only Title

Josh Smith's Q&A profile

  • Software Development for Windows Vista How can MPC play avi video with bad indexes?

    Hi I'm using Visual studio 6.0 and directx 8.1 SDK, and I got a problem in my directshow application. I need to play avi that could have bad indexes. If I play them using MPC I got not problems, if i try using IGraphBuilder:RenderFile(), it can not build the graph. Using Graph Edit, I noticed MPC uses different filters when it plays video with bad indexes, but that filters are not available in DirectShow, and using IGraphBuilder:RenderFile() the GraphBuilder can't find them. Does someone know something about the filter used by MPC Does it use internal filter Is it possible using them Can you play avi with bad indexes using directshow If yes, what codec are you using Is available source code for repairing an avi with bad indexes Pl ...Show All

  • Visual Studio 2008 (Pre-release) How to write javascript validations in DlinQ project

    Hi all, I developed few pages using DLinQ feature of dot net. Now i also added few conditions at server side before saving the data into table. But now I want to add few more but this time at client side using javascript. Now the problem is watever the text boxes displaying in the page is not accessable to write validations in javascript. Can any one of you help me regarding this. How could I access those text boxes at run time and also need to check values and incorporate condtions using javascript. Thanks in advance Vijay ...Show All

  • .NET Development How to get access to last error encountered?

    Hello, I have a call one with one of the methods returning bool depending wether there were exception inside a class or not. How can I get access to that Exception after calling a method and finding out that result is "false" and hence some exception happened inside calling method. Thanks, G true. but im sure that (if we look at low level/win32 API for example) if there was an exception thrown that you would "log" it in some way. Take for example win32 API functions/classes, if you SetLastError=true, you will get returned back the last error that occured and that error would have been stored globally to be accessed. I guess it depends on the developer, each has th ...Show All

  • SQL Server Double Quotes in CSV File

    I have a lot of data coming in from CSV files.  I have many CSV files (~20), with varying amounts of data- but some are quite large (largest file is ~230mb) I'm trying to import it into a SQL database via SSIS, but the data is a little bit frustrating.  I have data that looks like this: "Text from vendor ""Vendor Name, Inc."" blah blah", "Next string", "", 1234 Many things to notice here - as well you can imagine some of the difficulties here. After parsing, this data should have 4 columns- Column1                                    &n ...Show All

  • SQL Server rsInvalidItemPath Error and Jump to URL Issues

    I am having a navigation issue with jump to URLs in reports.  When I have a report that supports drilldown if I click the drill down then click a Jump To URL to render the next report I get a second toolbar.  If the drill down was never clicked the jump to works fine. My workaround was to try and create a javascript url to reset the url for the top frame.  However, the same url that was working before is now throwing an rsInvalidItemPath error.  Any thoughts Here is my original Jump To URL expression that was causing the second toolbar to appear on drill down: =Globals!ReportServerUrl + " /Early Life/Early Life Technician Summary QA&pDate=" + Parameters!pDate.Value.ToString().Replace("&", "%26") + ...Show All

  • Software Development for Windows Vista vista on ipx

    As we are developing new company software and running on IPX (beside TCP/IP), we need to test our new applications running with the IPX protocol and client. I've found a way on the net to implement an IPX protocol in VIsta (netnwlnk.pnf Windows-XP has) and have this available. All i need now is a supporting client to connect to the network. Is there a way to get one or do this another way TCP/IP is running smoothly by the way. ...Show All

  • Windows Forms MessageBox problems

    Hi all! I have a problem when displaying a MessageBox. The problem is that in the box does not appear any text, neither the caption nor the message nor the button text...what is happening the code is: MessageBox.Show("The system is not connected.","Robstar", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); thanks in advance!! Hi, Try this: show the messagebox select it and press <Ctrl> + <Insert> open notepad and select Edit\Paste Does this render the contents that you requested Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Windows Forms How do you make a Favourites Menu

    hi, Iwas just wondering if anyone could tell me how to make a favourites menu from scratch and how to program it in C#. Thanks, Zulbaric i'm sorry for all the hassle i really am. But this is the last thing. I get two more Errors: Error 1 The best overloaded method match for 'System.Windows.Forms.ToolStripItemCollection.Add(string)' has some invalid arguments 210 13 Error 2 Argument '1': cannot convert from 'MyOwnTabbedBrowser.Favorite' to 'string' 210 66 ...Show All

  • Visual Basic Control Arrays

    Ive just been using vb2005 for a couple of days and i have discovered that it desnt support control arrays the way vb6 and previous did. How do i write code that controls 150 picture boxes! heres an example, Private Sub Timer1_Timer() Dim Value Dim a As Integer a = 0 Do While a <= 150 Randomize Value = Int((4 * Rnd) + 1) ' Generate random value between 1 and 4. If Value = 1 Then picBox(a).Picture = picBlue.Picture If Value = 2 Then picBox(a).Picture = picRed.Picture If Value = 3 Then picBox(a).Picture = picGreen.Picture If Value = 4 Then picBox(a).Picture = picWhite.Picture a = a + 1 Loop End Sub Can any1 tell me how this code will look in visual basic 2005 Why did they have to change control arrays! Thanks ...Show All

  • Visual Studio Breakpoint Opens New Tab

    This is going to be a simple one I hope, but the location of the option is eluding me successfully... I have been developing on a Vista Business platform for some time now with VS 2005. When I debug any application in the IDE (F5), and a source file has a breakpoint in it, the environment opens a brand new tab with the source when the breakpoint is hit. This is not a serious issue, but it is annoying that when I stop debugging I have multiple tabs viewing the same source and if I edit those "extra" tabs the IDE has to ask me if I want to update the original. I have other VS 2005 developement environments on other machines (XPSP2) that do not do this. Where is the option/configuration/setting to make it stop Thanks ...Show All

  • .NET Development How to set the output type to Windows Application on codedom

    I'm using codedom to generate an exe that includes a form, so I want the code type to be windows application. At the moment when the exe launches it opens a console window and then the form window on top of that. How can you set the output type using codedom so it compiles a windows application ..or how can I stop that console window appearing. This is my code which it would have to be fitted into: Dim c As System.CodeDom.Compiler.CodeDomProvider c = System.CodeDom.Compiler.CodeDomProvider.CreateProvider("VB") Dim prov As New Microsoft.VisualBasic.VBCodeProvider() Dim cp As New System.CodeDom.Compiler.CompilerParameters( _ StringArray( _ "System.dll", _ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Coordinate system and matrix inconsitencies

    I still don't understand the intent of not using DirectX's left handed coordinate system. I thought it made sence at first, since OpenGL uses a right handed coordinate system.It would open up for easier porting of OpenGL code and interop integration with OpenGL libraries. Now I would prefer to have things the same way as DirectX so that I can easily use libraries and code from DirectX, but that's me. I can still say that all is good and a right handed system is just fine. But then I notice that matrices in XNA use row major representation, just like DirectX and not like OpenGL's column major matrices. Now it is only a matter of the order you multiply your matrices in and it really doesn't matter which one you use as long as you know whi ...Show All

  • SQL Server Recovering dropped SQL database

    I am in a big trouble , accidently i have issued a DROP DATABASE XXX command in the sql client, thinking its a local server....... The whole 4 months of database database is now dropped. Please help me , how can i recover the database .... thanks in advance If you don’t have a backup of the data, I will have to tell you, that there is no UNDO button for that. Sorry. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Configuration tool is not part of the .NET 2.0 runtime package.

    The configuration tool is not part of the .NET 2.0 runtime package. When a user installs the .NET 2.0 runtime package IN ORDER TO RUN A PROGRAM written using .NET 2.0, that USER would need to use the configuration tool in order to trust the assembly that he is planning to run. The configuration tool should NOT be a part of the SDK; it should be part of the .NET 2.0 runtime package. I tried installing .Net 3.0 Runtime Package and still was not able to get configuration tool and i won't like a user to install 350+ MB of SDK to use my DLL. Can anyone suggest on how i can override this problem. I could not find any solution other than below. But at least it works. There is a way to create a ...Show All

  • SQL Server Sensitive data

    Hi all, How can we protect sensitive data (custom properties) in a custom connection manager or a custom data flow component The SSIS Books Online indicates in the " Security Considerations for Integration Services" page that "If you write custom tasks, connection managers, or data flow components, you can specify which properties should be treated as sensitive by Integration Services". But how to do it programmatically Are there any attributes that can be applied on custom properties Thanks. Pascal You might have more than one option here. I personally use DontSaveSensitive as protection level of the package and the use Package configuration to set the value of sensitive ...Show All

©2008 Software Development Network