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

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

nares

Member List

Maximus123
SimonS_
ImGivingUp
Fata1Attack
Liam64
BobInIndy
SnavsDK
Joe G
syhzaidi
Brandon Bohling
Hawkeye7
redneon
Overkitty
Jafar Bhatti
Gustavo Carrazoni
dannyg_uk
gf
abcoura
Kardi
Mohammedoo Ali
Only Title

nares's Q&A profile

  • SQL Server What is INSERT BULK?

    Morning, I've just been running a Profiler trace on an ETL operation that I was doing and the SQL statement issued was: "INSERT BULK table <column-list> " That was it. Profiler didn't record what values are actually getting inserted. I looked in BOL but there's no mention of this syntax in either BULK INSERT ( http://msdn2.microsoft.com/en-us/library/ms188365.aspx ) or INSERT syntax ( http://msdn2.microsoft.com/en-us/library/ms174335.aspx ) I'm assuming its just a different syntax for BULK INSERT, although it doesn't specify a source file which is strange. Also, like I said the profiler trace only contained a column list, it didn't contain the VALUES part of an INSERT statem ...Show All

  • .NET Development Trouble Iterating through htmldocument links in VB 2005.

    I'm learning Visual Basic 2005 and have come to a problem I'm not sure how to solve. I have a web browser that pulls up a web site and I'm trying to iterate through the htmldocument.links collection. Here is a little bit of code to show how I was trying to do this. Public Class Form1 Public IE7 As New Person Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .IE7.CollectWebPage( "http://en.wiktionary.org/wiki/Special:Allpages" ) End Sub End Class Public Class Person Public Function CollectWebPage( ByVal Address As String ) Form1.WB.Navigate(Address) While Form1.WB.IsBusy End While ...Show All

  • Visual Studio 2008 (Pre-release) PerCall storage

    Hi, Can anyone tell me if there is someway of creating a per call storage area. What i have is and object that is passed using a message header on the operation call. On the service side the object decodes the message header to rehydrate it's and then become available for service code. What i want is for service code to be able to call MyClass.Current, what i had at first was upon access of the static property it checks to see if a static variable is null, if it is it then decodes from the message header and stores the decoded object in the static variable. The problem with this is that the static variable is shared across all services & operations. So if another client changes a property of the object that is passed across the m ...Show All

  • Windows Forms NumericUpDown Size

    Hi All, I have a numericUpDown control on a windows form. The user would like the arrows to be larger. I cannot seem to get that to happen. Does anyone know how to increase the size of the up/down arrows Thanks Jeff I don't know -and i don't think there is- a way to increase arrow size. One plain solution is to increase font size which will let you have bigger arrow size but also larger font size. Other way is to use a text box and two buttons and set properties as followed . 'Initialization As Followed ----------------------------------------------------- Me .txtNumericUpDown = New System.Windows.Forms.TextBox Me .bUp = New System.Windows.Forms.Button Me .bDwn = New ...Show All

  • .NET Development web service not compiling... i think

    I created a web service locally while my host change to network solutions was propagating. The web service worked fine. It compiled fine and displayed the page that allows you to work with the methods via POST (the documentation ). When I uploaded the file to Network Solutions, the webs service stopped compiling. When I access it all it shows is the C# source code. Does anyone know what I am doing wrong or how the fix my problem Has any had any experience with Network Solutions Windows Platform. Thanks in advanced for any help anyone has to offer. It sounds like the .Net framework is not installed on their server or the .net file types have not been registered in IIS on their servers. ...Show All

  • .NET Development .NET 2.0 Xml Deserialization problem

    Good morning, I have been having some difficulties when deserializing a class containing a List(Of ...) member. I have created some minimal code to reproduce the issue below. The example class contains three members: a String, a List(Of String), and a String() array. The class is instantiated with all three members set to Nothing/null. When serialized the first time the resultant xml correctly omits the elements for all members. When deserialized the String and String() arrays are still nothing but for some reason the List(Of String) now contains an instantiated empty List. As a result a second serialization contains an element corresponding to the List which, in my actual project, means the xml is not valid against the 3rd party schema I' ...Show All

  • SQL Server Restoring sql server 7.0 database into sql server 2005 express - problem!

    Hi! I'm a beginner w ith SQL Express and am having some problems. I am using 2005 SP1 and installed the SQL Server Management Studio Express as well. I have a backup from a SQL Server 7.0 database that I am trying to restore into my database using the management studio. When I try to restore from the file into my database, I get the error, System.Data.SqlClient.SqlError: The backup of the system database on the device D:\GMBeta2Local.bak cannot be restored because it was created by a different version of the server (7.00.1063) than this server (9.00.3033). (Microsoft.SqlServer.Express.Smo) Is this true Is there any way for me to get this data into my SQL Server 2005 express on my laptop hi, t ...Show All

  • Visual C# Passing a class object or reference to a function

    Hello, I would like to pass a class-object or a class-reference to a function. I seem to do not really understand object/reference handling in C#. My passing function generates a compiler error. //my class public class A{ } //my function that must be passed a class-object or class-reference public void MyPassingFunc(A a){ } //my main funtion public void MyMainFunc(){ //create class object A a = new A(); //passing object/reference to function create compile error MyPassingFunc(a); } Error 1 An object reference is required for the nonstatic field, method, or property 'MyPassingFunc(a)' Does 'a' hold a reference or an object I think a reference. What am I doing wrong regards Henk Well, let me answer my ...Show All

  • Visual Studio Team System Visual Studio 2005 Professional Edtion use Team Foundation Server

    Hello Everyone, I already have an MSDN subscription and so does my other developer. So we each have Visual Studio 2005, we were conteplating purchasing Team Foundation Server and 2 CALS for it. Will our Visual Studio 2005 Professional work with it. Or do we have to change that version also. TJ Havens Yes, the client piece (Team Explorer) will work with Visual Studio 2005 Professional. Here's another thread on the topic. ...Show All

  • Visual Basic Progress Bar/Loading Bar To Perform gif Update

    Hi all, I am just a new member here. Hope that my English will not give you an uncomfortable feeling ^^|| Actually, a month before, I was trying to implement a progress bar( some may call it loading bar) form so that when the Main Form/Main Thread is doing a Time-consuming tasks or thread-blocking tasks, it can display to the user and asking them to wait for a while. The problem was that I put a gif file into the picture box and the gif was an animation, the gif was not "animated" until the Main Form/Main Thread finished the tasks. Here is just a little code: Private Sub StartTasks() ' Create And Show Loading Bar Dim frmLoading as new LoadingBar frmLoading.Show() ' Start To Do Time Consuming Tasks ...Show All

  • Visual Studio Express Editions File

    Hi all, Can you create a program that scans for media files like mp3's, WMV, Wav, etc which then adds them to a playlist (When all the media files are found the user clicks on the playlist and selects a media file they want which then plays in media player. If any one can help i would be greatful A sample or coding would be useful thnx well the code is placed wherever you wish to execute this function, for example on the click of a button, just pretty much copy and paste it, modify it a bit if it does not work for you and thats it :-) example: drag and drop a button component on the form double click it to make a double click event copy and paste code (modify as necessary) run it and play with it. ...Show All

  • Software Development for Windows Vista ActiveX OCX / Registry call fails

    I have an ActiveX OCX that runs in a web page. It works fine except when run under Vista. The call that fails is RegConnectRegistryW. The return error is 1346. Meaning "Either a required impersonation level was not provided or the provided impersonation level was not valid". This call fails when attempting to return any hive handle --even a local hive handle. Obtaining hive handles via another fashion isn't possible as the OCX needs to be able to remotely connect to other system's registries --whether they be Vista or less. I'm pretty sure the cause for the error is due to insufficient rights and that the process which calls this API needs elevated privileges. How can I accomplish elevating this process Can I use a manifest file ...Show All

  • Architecture Creating DataBase

    I am re-writing a single-user, local application that supports MS-Access to a multiple concurrent user application that will support MS-Access, SQL Server, Oracle, DB2, and XML. In the current application, a Microsoft Access Database (*.mdb) file (with structure but no data) is distributed with the application. When the user wants a new database, the distributed file is copied. With a move to SQL Server, etc. most users will likely not have the ability to create databases on the fly (I assume most companies keep that in the hands of IT). What is the best or at least accepted method of distributing the database structure with an application Let me get this straight. You're going to build an application that will support multi-us ...Show All

  • Smart Device Development Keyboard scan code in emulator skin

    I've been remapping an adding some buttons in the smartphone skin to emulate the form factor of my final device but I can't figure out what the scan code values are. I've looked at the output from my keyboard device driver and they don't match the values in the skin. e.g. volume up 0x40 = device scan code 0x47. Some values simply don't even reach the device driver e.g. 0x59. What is going on here Petchey, The emulator emulates the Samsung SMDK2410 board, which has a fixed set of scan codes. Therefore some of the possible 255 scan codes are invalid. Please tell me if the unchanged buttons on the skin generate the correct codes. Thanks, Vijay ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .fx not working right

    this is my shader in rendermonkey nor in my game the model i apply this shows up i quess i has to do with the 3 matrix but i am not sure how to code the shader so it works with it uniform extern float4x4 World : WORLD; uniform extern float4x4 View : VIEW; uniform extern float4x4 Proj : PROJECTION; uniform extern texture UserTexture; struct VS_OUTPUT { float4 position : POSITION; float4 textureCoordinate : TEXCOORD0; }; sampler textureSampler = sampler_state { Texture = <UserTexture>; mipfilter = LINEAR; }; VS_OUTPUT Transform( float4 Position : POSITION, float4 TextureCoordinate : TEXCOORD0 ) { VS_OUTPUT Out = (VS_OUTPUT)0; Out.position = mul(Position, View * World * Proj); Out.textureCoordinate = TextureCoordinate; return ...Show All

©2008 Software Development Network