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

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

mshvw

Member List

Bravo2007
cjbonelli
AlexBB
FRENFR
cbpd86
Arnaud H
Tony Maresca
jdang
adorer
Jeremy51
Gulden
Vlad Pitaru
Guustaaf
bluedash
Maxim Michtchenko
Jourdan
Vahid66
Testpilot.dk
Steven Gilissen
b.p.
Only Title

mshvw's Q&A profile

  • Visual C# problem with making query wich contains parameter

    I'm trying to make a program to manage my moviedatabase a little more user friendly. Now i'm trying to add a new query to the adapter with the paramater. But every time i do this i get this error saying error in WHERE clause near '@'. Cannot parse query text. This is my query: SELECT ID, MapPos, Naam, Soort, Kwaliteit, Genre FROM Films where Naam = @naam It adds the method but without the parameter. Can anyone please help me, or say what i must do exactly :/ Thanx in advance thank you for the really fast response. Well i think i have to do some more reading. I was actually following this book with the example and everything. But they forgot to tell me anything about this. I just went to desing dataset, rig ...Show All

  • Visual C# Ugly C# brace matching

    Why are there different styles of brace matching for C# and C++ Personally I prefer the C++ style and would like the option to use the same in C#... I didn't mean the layout style. I meant the matching brace highlighting in the text editor. In C++ it changes the color and/or bolding of the matching brace. In C# it changes the background color. Unfortunately the latter style can be a bit visually confusing as it makes the insertion point hard to see. And who knows why C++ and C# use different highlighting techniques. Personally I would want to use the C++ style in all languages. ...Show All

  • SQL Server Default to NULL instead of blank/empty string during flat file import

    Hi, In SSIS flat file import using fastload, I'm trying to import data into SQL 2005 previously created tables. The table may contain column that are NULLable BUT there is NO DEFAULT for them. If the incoming data from flat files contains nothing either between the delimeters, how can I have a NULL value inserted in the column instead of blank/empty string I didn't find an easy flag unless I'm doing something wrong. I know of at least two ways to do it the hard way: 1- set the DEFAULT(NULL) for EVERY column that needs this behaviour 2-set up some Derived Column option in the package to return NULL if the value is missing. Both of the above are time consuming since I'm dealing with many tables. Is there a quick option t ...Show All

  • Software Development for Windows Vista OTP: I lost my Product key for windows vista beta 2

    I lost my Product key for windows vista beta 2 Can someone tell me how can i get it back. Thanks. Dante ...Show All

  • SQL Server Threat due to SQL Injection

    I have gone through a terrible situation a week ago. One website was working fine since couple of years and suddenly it was hacked. I checked the entire code in all the pages and it was not at all modified. When I checked the database, I found that javascript was inserted in it. As soon as a recordset was displaying it, javascript redirected that page to the hacker's site.. This was the mechanism was used by hacker. Which database can be more secure in such situations Nishith Shah Client side validation is great for the user, because it lets him see mistakes he made without doing a postback to the server. As a developer, you shouldn't rely on it at all. I've too many sites that were "hackable" just by turning off j ...Show All

  • Smart Device Development create is not a member of system.xml.xmlreader

    I try to develop an application on smartphone 2003 I have a create is not a member of system.xml.xmlreader when I code this Const DOC_XML As String = "D_Overlending.xml" Dim DocXml As New XmlDocument() DocXml.Load(DOC_XML) Dim readXML As XmlReader = XmlReader.create( "D_Overlending.xml" ) Someone can help me XmlReader is an abstract class and can not be instantiated directly. You've to use the concrete implementations of this class e.g. XmlTextReader. In NETFX 2.0 version it is recommended to use create method. SmartPhone 2003 should have compact framework version 1.0 and therefore you should use the concrete implementations of this class to create t ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. No Blue Channel?

    Hi all: Thanks for all your help, my sky sphere now renders from the inside out, and thanks to www.thehazymind.com , I have a working camera to peer inside the sphere. I am stumped on something though. When I render a model that has texture maps with blue in it, such as the aformentioned skysphere, I don't seem to have a blue channel. The texture appears green instead. I'm stymied from the lack of help from the help files (of course they're beta). Any ideas Here's what I'm doing to render: //Get ready to draw the sky sphere graphics.GraphicsDevice.RenderState.DepthBufferEnable = false ; graphics.GraphicsDevice.RenderState.CullMode = CullMode .None; //Reset drawing states graphics.GraphicsDevice.RenderState.Alpha ...Show All

  • Visual Studio 2008 (Pre-release) Getting Viewbox and WrapPanel to play nicely together

    Hello, Can anyone tell me how to get a WrapPanel and Viewbox to play nicely together... Given the following Xaml, how can I get the WrapPanel to utilise more than a single row Is there anyway I can give the WrapPanel hints about how many rows to use < Viewbox > < WrapPanel > < Button Content = " Value 1 " /> < Button Content = " Value 2 " /> < Button Content = " Value 3 " /> < Button Content = " Value 4 " /> < Button Content = " Value 5 " /> < Button Content = " Value 6 " /> < Button Content = " Value 7 " /> </ WrapPanel > </ Viewbox > The viewbox works perfectly ...Show All

  • Windows Forms Publish Bug? Paid Sponsor?

    Hello Whenever I publish my application, these three websites/folders come up: My documents NASA Homepage Mapquest What is up with this Has anyone gotten this kind of behaviour I don't know how these website popped up. I never visited them in such a long time. Keehun This was puziling me too. Then I had a brainwave I made IE my default web browser instead of Firefox. Bingo instead of the random web pages you get explorer opening up the folder you just built. Now look at the address of that folder. If it starts C:/Documents and Settings/ you will get the three pages you describe because of Firefox's google searching in the URL bar. If you do a google search on the string and you'll see nasa is the highest ranking ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Video/Animation Playback

    Hi, I'm currently writing a library (for XNA/DirectX) for animation/soundless video playback, and I have a few design questions for the pros out there if you don't mind answering them : I'm having my animation class inherit from game component, and update the frame depending on game time in the overriden Update method, and render it in the overidden Draw method, but even when I preload my textures to render, playback is choppy. Not sure exactly why, but I notice this only when I have significant number of frames (I noticed it with 100 frames, but *not* with 10/15). This problem may be linked and solved by the 2nd point, so please read on. When I preload all the textures for the frames in the animation (and the no. of frames ...Show All

  • Windows Forms Change Content

    Ok. I have been searching for many hours now, could someone please help me. I need to know how to change the current content so that when I click the Next button the content changes.  This would allow me to make more options available.   I really need to know how to do this in VB, please help. ...Show All

  • SQL Server System.IO.FileLoadException: LoadFrom(), LoadFile(), Load(byte[]) and LoadModule() have been disabled by the host.

    Hi all, I use Assembly .LoadFrom("test.dll"); to dynamically load a dll in a SQL CLR pocedure method, but I get this error: System.IO.FileLoadException: LoadFrom(), LoadFile(), Load(byte[]) and LoadModule() have been disabled by the host. Any idea Thanks in advance. As the error says, you can not do it. You are not allowed to load a user assembly from anywhere but the database. Catalog your assembly in the database and call Assembly.Load("asm_name"), and it should work. Niels ...Show All

  • Windows Forms want to integrate F7 key as a shortcut key to initiate grammar checker.

    Hi All, I want to initiate grammar check when F7 is presse. please tell me solution as soon as possible. Thanks a lot. Regards, Kamlesh kamlesh patel wrote: Hi All, I want to initiate grammar check when F7 is presse. please tell me solution as soon as possible. Thanks a lot. Regards, Kamlesh You want to add an action on F7 to a Windows Forms . NET application that you are currently developing, and you have your own grammar checker ready for deployment ...Show All

  • .NET Development This Error Appears: Format of the initialization string does not conform to specification starting at index 0.

    I have saved the database connection string to a key named 'ConnectionString' allowing to access it by calling 'configurationSettings.AppSettings("ConnectionString") But a red line comes under the configuration in the part of the : 'configurationSettings.AppSettings("ConnectionString")'. When i run it this error appears: Format of the initialization string does not conform to specification starting at index 0. and says: Line 4: Public Shared Function GetCategory() As SqlDataReader Line 5: Dim connection As New SqlConnection(connectionString) Line 6: Dim command As New SqlCommand("GetCategory", connection) Line 7: command.CommandType = CommandType.StoredProcedure Line 8: connection.O ...Show All

  • Visual Basic Performing operations on out of focus windows forms VB 2005

    I have a Mdi application I am coding. One screen is a datagridview and from that the user double clicks a record to open a new window. On the new window I have next and previous buttons. Is it possible have the highlight on the datagrid move with the click of the next and previous buttons without leaving the focus of the details window So I have been giving it a try but it seems when I try to get back to the datagrid screen from the details screen the col and row properties are set back to 0 for the gridview object. Actually they go to 0 when the grid is out of focus. ...Show All

©2008 Software Development Network