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

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

windoze

Member List

M Kenyon
jerryf65
garimell
Quilnux
albidochon
Predator14567
Antioch
Radim Hampel
a.d.m
Qadri
Jan Friberg
fieldhouse
Ryan F
Lemus
raghava66
cdun2
Andeezle
Frank Cazabon
Tadwick
Muhsin Zahid Uğur
Only Title

windoze's Q&A profile

  • Windows Forms Easy question about a groupbox

    I'm feeling somewhat stupid when asking this question because the answer is almost certainly trivial but I still don't know the answer so here goes. Suppose I create a groupbox (groupbox1) and put into it 2 textboxes (textbox1 and textbox2) how can I afterwards refer to textbox1. Now what do I do if I want to change the text in one of the textboxes. I was hoping for something like groupbox1.textbox1.text = "helloworld" But that doesn't work. I believe that I could use a loop along the lines of Private Sub Update_textbox1() Dim mytextbox1 As textbox For Each ctrl As Control In groupBox1.Controls If TypeOf ctrl Is textbox Then mytextbox1 = ctrl mytextbox1.text = &qu ...Show All

  • .NET Development Sharing a common data set schema for multiple web services

    Hi, I have a solution with multiple web services that share the same typed dataset. Each time I add a reference to a web service to a client application it creates a new web refrence class that includes an imported version of the XSD for the typed dataset. Each web service reference then has its own typed data set class . Even though the dataset is the same each web service reference refers to it via a different namespace. How do I get the web service refrences to share a common reference to the data set schema so that they all use the same type -- David Worthington .Net Framework V2.0 added a functionality to solve this problem. wsdl.exe tool has new switch (/shareTypes) allowing for type sharing betwee ...Show All

  • SQL Server How to delete rows in tables...

    I need to delete some rows in some of my tables after tranfering data from my OLTP to SQL database. Im using SQL 2000 I have tried with the following: Delete from fsalesinvoiceline Join dsalesinvoiceheader on Fsalesinvoiceline.salesid= dsalesinvoiceheader.salesid and Fsalesinvoiceline.company= dsalesinvoiceheader.company Where dsalesinvoiceheader.billtocustomerno=’INDTAST DEBITORNUMMER’ Go Delete from dsalesinvoiceheader Where dsalesinvoiceheader.billtocustomerno=’INDTAST DEBITORNUMMER’   I get the following error message: [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'JOIN'   What am I doing wrong /Soren D. Jensen ...Show All

  • SQL Server SQLCMD taking lot of time during insertion

    Hi I am using SQL Server 2005(Express Edition) and i am trying to insert around 50,000 records in a table through a sql file by providing that file as inputfile to the sqlcmd utility. SQLCMD utility is taking a lot of time in completing the transaction. Moreover if i am doing the same thing with the help of a procedure its taking around 30 sec to do so. Please tell me why its taking so much of time via SQLCMD. Also it seems that sqlcmd is taking a lot of time in parsing the file. Can we somehow disable the parsing done by the sqlcmd utility Regards Salil ManiD wrote: Its really bad idea to import huge data into table as Insert Statements. You are not using a BCP commands here, you ...Show All

  • SQL Server Connecting to Oracle DB using SSIS

    Can anybody point me how to connect to an Oracle DB using SSIS I use the ole DB Connection Manager and pick the Microsoft OLE DB Provider for Oracle but it doesn't seem to work. Any suggestions are greatly apprecaited. Thanks. Sam. Hi Jamie, I have the same problem now in production environment. I have to connect to oracle db from production too and I downloaded the client tools on my 64 bit windows server 2003. I edited the tnsnames to have an entry. When I try to connect to oracle, it gives me an error saying client and networking tools not installed, but I did install them. Can you please help me Thanks. Sam. ...Show All

  • Visual Studio Parameter overview is not displaying fully qualified name

    Hi Anand ,   I have found another issue in Sandcastle:   open the following link: http://www.inchl.nl/help/28126d0b-6d62-1d1e-19b7-6b6a0884fc5b.htm   You can see the declaration of the Item property in the PCSH class. This PCSH class is a public innerclass of the Tools class. The second parameter (named persistence) is a enumeration named PCSH (which is a public inner enum of the Enums class). As you can see the parameter overview displayed just the name of the innerclass ( PCSH ) although the property declaration is displaying a full qualified name. In my case this is causing a lot of confusion because both the enum and class are named PCSH , but are stored as inner classes in ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GPGPU: 1-to-1 pixel-to-texel mapping using Direct3D

    For a GPGPU application using shaders we need to map a given texture directly 1-to-1 to the render surface. The simplest way to do this (so we think) is to use a rectangular quad with coordinates from (-1, -1) to (1,1)) and to set the FOVY and the zoom such that the quad will exactly fill the whole render surface. Rendering a given texture to this quad should give the expected results, i.e. a direct mapping from each texture pixel to the corresponding screen (or any other render surface) pixel. But what happens is that the texture appears to be shifted one pixel down and right which will make the direct mapping impossible. The correct results are achieved if we use a slight correction for the viewing Matrix: (D3DXMatrixTranslation( &m ...Show All

  • Audio and Video Development Blu-ray

    Does it bring bad luck to ask this on this forum :) Anyone knows of documentation or sites about BD-J mode, HDMV is a bit limited. BluPrint is better than Scenarist BD. It is most easy to make a BD with it than with Scenarist BD. And you see what you do... But there is lot of problem with the incompatibilities with hardware player (the final release of BD-J came from Philips after CeBit in March 2006 .... ). Samsung player don't play it because it don't support it (and it have not a ethernet connection, not web, no network). Golgot13 ...Show All

  • Visual Studio Express Editions open new form

    i need the open new form code. it looks something like this: "Dim clone new form1" I'm now working on a notepad... and i need to have the save as dialog. the TextBox1.ShowSaveAsDialog() didn't work i get the error: Error 1 'ShowSaveAsDialog' is not a member of 'System.Windows.Forms.TextBox'. ...Show All

  • SQL Server changing "header rows to skip" property in flat file connection during runtime

    Hi all I have a flat file.I am trying to set the value for the property " HeaderRowsToSkip " during runtime.I have set an expression for this in my "flat file connection manager". But this is not working.The connection manager is not able to take the value during runtime . My expression is as follows: DataRowsToSkip : @[user:: Var] where " Var " is my variable which gets the value from the rowcount component and trying to set it back to the "HeaderRowsToskip" property. I ve even tried setting the value to the " HeaderRowsToSkip " property in the expression builder. Its not working.... Can anyone help me out in solving this Thanks in advance Regards Suganya ...Show All

  • SQL Server 2005 SP1 select @@Version

    I applied SQL Server 2005 SP1, everything appeared to run successfully but if I run select @@version, the version number did not update. I still see 1399 not 2047. Here is the last part of the hotfix log: 10/09/2006 22:50:05.646 Product Status Summary: 10/09/2006 22:50:05.677 Product: SQL Server Native Client 10/09/2006 22:50:05.693 SQL Server Native Client (RTM ) - Success 10/09/2006 22:50:05.708 10/09/2006 22:50:05.739 Product: Setup Support Files 10/09/2006 22:50:05.771 Setup Support Files (RTM ) - Success 10/09/2006 22:50:05.786 10/09/2006 22:50:05.818 Product: Database Services 10/09/2006 22:50:05.849 Database Services (RTM 1399 ENU ANNCL02DB01) - Success 10/09/2006 22:50:05.864 10/09/2006 22:50:05.989 Product: Notificati ...Show All

  • SQL Server Problem with package.Execute passing variables

    I am having a problem with passing variables into my SSIS package from C#. The variable names match ("Variable1, ...), however they do not seem to be assigned the proper values once the package is executed. The package does run and returns a FALURE notice saying there is a problem with my expressions. When I added a new data flow, derived all the variables into columns and wrote their values to a flat file I noticed that the values still contain my default values from the SSIS package itself as though nothing was passed in from C#. I am hoping that it is a simple configuration/user error. Any ideas ---- C# ---- Reference to Microsoft.SQLServer.ManagedDTS using Microsoft.SqlServer.Dts.Runtime; Application ...Show All

  • Windows Forms Modify ConnectionString

    Hi, I searched, but couldn't find an answer. Is it possible to modify a connection string at runtime This code throws an exception, not sure how to fix. string connectionString = this .txtConnectionString.Text; ConnectionStringSettingsCollection col = ConfigurationManager .ConnectionStrings; ConnectionStringSettings section = col[ "MyConnection" ]; section.ConnectionString = connectionString; The last line throws this: System.Configuration.ConfigurationErrorsException was unhandled Message="The configuration is read only." Is this something I can configure I have a requirement to allow certain users the ability to change the connections string, rather than forcing them to modify the app. ...Show All

  • SQL Server SQL Reporting Services

    Query # 1 When I export my SQL report to a desired format (like pdf) through a web application, it opens a new browser window. Even after i save the report (in pdf format), the browser window remaisn open. It is cumbersome for the user to close the window as it is not used for displaying anything. Am I doing something wrong which is obvious to anybody Query # 2 While saving the SQL Report in the desired format, is it possible to default the target filename to a configurable value in the file box which appears Thanks navingp Cant help you much but on Query 1 this seems to be the norm. The window also remains open for me. I dont think there is a way to change this. ...Show All

  • Visual Studio Express Editions OpenGL using version 1.1 instead of Video driver version

    Hi, I have an application that runs on at least a few computers, but on a certain computer it uses Microsoft Generic OpenGL 1.1. The code I use to create the window and the OpenGL Context is below. In short, if I change the window style from WS_OVERLAPPED_WINDOW to WS_OVERLAPPED | WS_CAPTION | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX (i.e., remove WS_SYSMENU) Then the OpenGL version it uses is 2.0.6068. Any ideas The specs on the machine are also posted below. Thanks, Bryan Code: WNDCLASS GlClass; GlClass.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; GlClass.cbClsExtra = 0; GlClass.cbWndExtra = 0; GlClass.hInstance = NULL; GlClass.hbrBackground = NULL; GlClass.lpszMenuName = NULL; GlClass.lpszClassName = GlClassName; GlClas ...Show All

©2008 Software Development Network