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

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

Fahad349

Member List

Pocketmnky
Vladimir Chtepa
wencey
cues7a
YoungEngineer
plaszlo
shimshon
ernisj
Skippy1313
Henk Gijsbert
dashley
SpecialTee
d72e4d
royalhale
blabus
rrobs
Scythen
dvl_vn
pure159112
JFoushee
Only Title

Fahad349's Q&A profile

  • .NET Development VB.NET - Storing Null values

    Hi, I'm having some problems in my application in VB.NET. I have a connection to a mdb access database using TableAdapters and DataSets. On the mdb file properties, some fields may be null if that's my intention (allows null values). But I'm having some problems on running the app, regarding DBNULL problems Can someone tell me what to do if I want to save NULL values in a table field... Pedro Weh you need to assign NULL to the column value in a DataTable, it would look like MyDataTable.Rows(0).Item("MyColumnName")=DbNull.Value In a case of parameter, you need to assign it to the Value property MyParameter.Value=DbNull.Value ...Show All

  • Internet Explorer Development window.open and <a> with named target always opens new window

    Hi there, We are having some problems with reloading named windows. We use in our applications two kind of methods: java scripting: window.open("../Company/SelectDerde.aspx","SEARCHCOMP", "height=600, width=750px, menubar=0, location=0, resizable=0, status=0); html: <a href="../Company/SelectDerde.aspx" target="SEARCHCOMP">Search Company</a> Before IE7 the webbrowser reloaded the window (if already loaded) with the name 'SEARCHCOMP' with the new page. With IE7 it always opens a new tab or window (depending on the IE7 Settings) Does anyone know of named targets are no longer supported with IE7 Thanks in advance Patrick Marelis ...Show All

  • Visual Studio SKU011.CAB solution

    Go into Registry Editor (Start, Run, "regedit"). Go to HKEY_LOCAL_MACHINE, Software, Microsoft, Office, 11.0, Delivery. There should be only 1 directory under Delivery, which is your DownloadCode (mine was 90000409-6000-11D3-8CFE-0150048383C9). Select that directory. On the right side of the screen, right-click on CDCache. Change the value to 0. honestly works with out a hitch. I followed your directions but was unsuccessful!! There is as you indicate only 1 directory under delivery but the number differs from yours - however on the right side of the screen under DownloadCode that number is the same as yours. I am puzzled as I was under the impression the directory under Delivery would be the same as the number on t ...Show All

  • Software Development for Windows Vista Error in WebApp working with WindowsWorkFlow

    when i tried to call a method using callExternalMethod activity from workflow to my app. it enters to that method and after returning from that method i kept a code activity and given a message in that as "TicketCompleted" ,after that i kept set stateactivity pointing to statecompletion. now my problem is even though my debugger is not entered to code activity my work flow instance is removed from sqlpersistance database and also it is not entering to workflow completed event or workflow completed terminated event. In command output window it is showing : the first chance of exception of type 'system.Invalidoperationexception' has occured in system.workflow.runtime.dll any solutions are apprec ...Show All

  • Smart Device Development Edit Datagrid and dataset using textbox value

    Hi there, Not sure if this is the best forum to post this question as it covers 2 subjects so i apologise in advance. I'm writing a Windows Mobile 5.0 application using vs2005 which will store data in an sqlmobile2005 database. I have created a form with a datagrid and several buttons and txtboxes to manipulate the data stored and displayed in the datagrid. The datagrid's datasource is a dataset which is based on the data from a single table in the database. i have the following code to update a specific field in the dataset based on the value of txtamount.text but get the error: NullReferenceException on the line ds.Tables.Item("ViewAccounts").Rows.Item(lngRow).Item("PmtMade") = decPmt When i l ...Show All

  • Windows Forms Automatically Wrap Text in Label

    I have the following scenario: I have a TableLayoutPanel in my form. In one of the cells I want to place a Label control to display some text. The label might have just a few words. It might have a paragraph. I would like the label text to automatically wrap inside the cell in the TableLayoutPanel. If the row in the TLP is not large enough, it should automatically grow so that it can display all of the text. 1) I have tried setting Dock:Fill and AutoSize:False on the label. This will cause the text in the label to wrap, but it will not grow past the size of the cell in the TLP. If I set the row in the TLP to be AutoSize, the whole row becomes hidden. 2) If I set it to Dock:Top, AutoSize:False, and set the TLP row to AutoSize, this works, ...Show All

  • Visual C++ Using animated GIF image in Forms

    Hi, I'm trying to use an animated gif image in a form within C++/CLI but so far without success. I looked at picturebox control but the image stay still, no animation. I browsed the NET to find any clue to my problem and got a few articles stating the fact that I have to make somekind of class that would rather display one at a time each frame found in my GIF. Any clue or easier way, any example on how to do it Thanks in advance, Stephane   Stephane Beauchemin wrote:   I'm trying to use an animated gif image in a form within C++/CLI but so far without success.  I looked at picturebox control but the image stay still, no animation. Presume you are using VS2005. ...Show All

  • Windows Forms Tutorial loader UI/Code

    I'm working on a small smart client program that checks a few things on a workstation to assist local IT techs supporting the networked workstations. The smart client is written in C# 2.0 on the .NET 2.0 framework. Basically, when run, it gathers a bit of information about the PC that a tech would be interested in (such as MAC/IP/Gateway address, drive space, etc). It also runs a few ping checks for various network resources. Anyway, I'm looking to enhance the application by building tutorials into the utility. Allowing the users to click a button and get a list of tutorials on things such as setting up a printer, email, etc... The UI I planned was a left column that would hold a listbox of all the tutorials. When a user clicks the tutoria ...Show All

  • Visual C++ Compile-time class generation causes C++ Compiler to Crash

    Consider this example:   template <int N> struct Factorial {     enum { value = N * Factorial<N - 1>::value }; }; template <> struct Factorial<0> {     enum { value = 1 }; }; void foo() {     int x = Factorial<4>::value; }   It compiles and runs fine. But if you remove the code in bold, the C++ compiler crashes (probably because of a stack overflow). I tried looking for a support link in order to report this but found none.   P.S.: code sample taken from http://en.wikipedia.org/wiki/Template_metaprogramming Don't know, I tried Factorial<489> and Factorial<490>. 489 works and ...Show All

  • SQL Server HResult E_Fail error

    From a couple of days I have a strange and annoying problem on my development machine. Every time that I try to use the Import/Export wizard in the Management Studio I receive the error HResult E_Fail error refererencig to the dtsruntimewrap. If I try to open a SSIS package and to check the setup of the connection I receive instead a message stating Could Not Edit OleDB Connection, error E_FAIL(0x80004005). (System.Data) What can I do to fix this problem Thank you Hi Terrence, the problem was new but it was constant. I had to install again the Service Pack 1 to solve it. At the moment I am not having problems anymore. Thanks! Andrea ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. using framework with WinForm Events/control

    thanks ralf and paul for the post to bigbob   Using the framework with WinForm controls based on other comments and your current comment:  (I familiar with graphics and direct x as syntax, but just starting in the steps to actual design an application for XNA-MDX (window application not a game)  we can put "xna" into a winform, from the "myForm.Handle" in Graphic Device. similar to mdx create device ( ..., control,...) 1- the idea is to place the XNA(MDX) into a panel or better to picture control.  using   .AddControl(); myForm.Handle will how do we actually present our canvas to a the control as (bigbob) stated draw to a panel or a picture control “Bigbob”   could you list a ...Show All

  • Visual Basic plz help me to know he differences between the following statements

    plz help me to know he differences between the following statements k = Chr(KeyAscii) Like "[0-9.]" k = Not (Chr(KeyAscii) Like "[0-9 -]") k = Chr(KeyAscii) Like "[0-9/]" thank you. Hi, You could use this idea instead.>> Enter the number in a textbox.>> In the textBox changed event Sub do this.>> Dim myNumber As Decimal If IsNumeric(textBox1.text)=False Then MsgBox("Please enter a number.") Else myNumber=CDBL(textBox1.text) EndIf Regards, S_DS ...Show All

  • SQL Server VARCHAR(MAX), NVARCHAR(MAX) and VARBINARY(MAX) support

    On the ntext, text, and image (Transact-SQL) page at http://msdn2.microsoft.com/en-us/library/ms187993.aspx it states " Important: ntext, text, and image data types will be removed in a future version of Microsoft SQL Server. Avoid using these data types in new development work, and plan to modify applications that currently use them. Use nvarchar(max), varchar(max), and varbinary(max) instead. For more information, see Using Large-Value Data Types." Considering this warning, is VARCHAR(MAX), NVARCHAR(MAX) and VARBINARY(MAX) support going to be implemented in SQL Server Compact Edition Robert Wishlaw We are entirely different architecture from SQL Server hence SQL Server reco ...Show All

  • SQL Server File System Task exhibits strange behaviour ?

    Hi All, I've been doing some further testing on SSIS and come across what I consider strange behaviour of the FileSystemTask. This is set to delete a file, using the file name input from a variable. If the file doesn't exists I would expect the task to fail, but instead it does not. It succeeds ! I would expect this to fail if the file it attempts to delete is not found. Can anyone duplicate this strange behaviour Regards, P R W. https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=250600 Voted and Validated. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. is ColoredVertex still bugged in BasicEffet ?

    Hello, When i render a vertex buffer (with VertexPositionColorTexture points) the triangles are black. I have basicEffect.VertexColorEnable set to true. When i render the vertexbuffer with VertexPositionNormalTexture and VertexColorEnable to false, i get the correct rendering with the texture. I'd like to use the vertex color to modulate the texture color and use the alpha as well. I read that the coloredVertex was broken in beta and that it was trying to be fixed for release. My question is: has anyone managed to make it work or is it known broken for now Thanks. Vertex colors work fine in the final version. Do you have lighting turned on in your effect, by any chance That won' ...Show All

©2008 Software Development Network