Software Development Network Logo
  • Visual Basic
  • Visual C++
  • Smart Device
  • Windows Forms
  • Visual Studio
  • Visual J#
  • .NET Development
  • VS Team System
  • SQL Server
  • VS Express Editions
  • Windows Live
  • Architecture
  • Visual C#
  • Windows Vista
  • Visual FoxPro

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

davidakos

Member List

scheppsr77
pcaddict
Sergey Karimov
myksdsu
jdsouza
Halvo
RobF
ginganinja
ErikWestermann
EnzoMa
bravipandey
Todd Virlee
maurj
vbnewcomer
ndemaster
Steve Flaum
Mahesh Gaware
JeffK_
Jake Pratt
lcan
Only Title

davidakos's Q&A profile

  • Visual Basic Streaming text from a view to a file.

    The following code is supposed to place data rows from a SQL Server 2000 view (vwExport) into a text file: G:\doc\Output.txt. The compile error I get is: 'Application.ApplicationDataSetTableAdapters.vwExportTableAdapter' cannot be converted to 'System.Data.DataTable'. Code: Dim strExport As String = "" Dim strExportFile As String = "" Dim x As DataView = New DataView(VwExportTableAdapter) Dim z As Integer Dim y As Integer For z = 0 To x.Table.Rows.Count - 1 For y = 0 To x.Table.Columns.Count - 1 strExport = strExport & x(z).Item(y).ToString & vbCrLf Next strExport = strExport & vbC ...Show All

  • .NET Development Copy of a collection

    Hi, How do i make a copy of a collection. I know that you can copy it to an array.. but how would that help me in making a copy of the collection. Thanks tribal You can do a Shallow clone as such ArrayList Incoming = new ArrayList(); Incoming.Add(new UserInfo("John Doe", "Terminal #1")); Incoming.Add(new UserInfo("Jane Doe", "Terminal #2")); ArrayList Processing = (ArrayList) Incoming.Clone(); ((UserInfo) Processing[0]).Location = "Lounge"; ((UserInfo) Processing[1]).Location = "Theatre"; Proces ...Show All

  • .NET Development XHTML Validation Fails due to <asp:ImageButton> renders a BORDER="0" output

    Steps to Reproduce: <%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:ImageButton ID="flag_it" runat="server" style="width:22px;border:thin inset silver;vertical-align:middle;" ImageUrl ...Show All

  • Windows Live Developer Forums Log in messenger contactlist on website

    Hello, I would like the possibility for visitors of my website to log in and check they're MSN contactlist. I have looked everywhere for a tutorial or scripts that are alike, bud haven't found nothing. Does somewone know if it is possible Maybee you can point me in the right direction Thanks in advance, Barton Hello Barton, I'm looking for the same thing. Maybe you've found somehing Please help me. Thnx. Rutger van Hagen ...Show All

  • SQL Server Error importing data from oracle database to an SQL database

    Hi! When i was importing a database table from an Oracle Database to a SQL database table, the wizard returns this error: Could not connect source component. Warning 0x80202066: Source - VB_PERMISSIONS [1]: Cannot retrieve the column code page info from the OLE DB provider.  If the component supports the "DefaultCodePage" property, the code page from that property will be used.  Change the value of the property if the current string code page values are incorrect.  If the component does not support the property, the code page from the component's locale ID will be used. Error 0xc0204018: DTS.Pipeline: The "output column " ...Show All

  • Software Development for Windows Vista Problems with Visual Studio 2005 Extensions for WinFX in Vista

    Hi! When I try to install the extensions for WinFX for VS2005, I get an error, that a prerequisite is missing (WinFX Runtime Components). Two issues are strange: - In Vista - according to the MSFT Download Center - the WinFX runtime components are already installed. - When I try to install the components, I get an error message, telling me that a newer version of the components is already installed... What shall I do to get the extensions for VS2005 installed My configuration is: - Vista Beta 2 (Build 5452) - Visual Studio 2005 Team Suite - Windows SDK Beta 2 (Version aus dem Download Center) Thanks, Marcel ...Show All

  • Windows Forms howto print the text and picture from a winform panel / form?

    anyone know howto print the text and picture from a winform panel / form  example : a custom report layout or print a personal detail report or print sell receipt with product picture , company logo and text. hi, bud just try reading the chapter about getting the rectangle portion of a form to your print document. if you can't mail me ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# - DirectX 9.0c - Creating a Basic Hexagon

    I was wondering if someone could walk me through drawing a basic hexagon using DirectX 9.0c in C#. I've been using the Vector3 structure, and I am having problems understanding how to initialize the view transformation matrix for a hexagon, as well as what input vectors will represent the hexagon (understandably 6). Thank you in advance, Owen The view matrix (nor the world or projection) isn't something you change to draw a shape. They change how the shape is drawn to the screen. Firstly, draw out your hexgon and use some math to calculate the coordinates of the vertices. If you math isn't ...Show All

  • Windows Forms Welcome back Ken

    I haven't seen Ken Getz in a while. Have you been on vacation   8) Hey, thanks! No, I got sidetracked writing for about 8 months. I just didn't make the time to get up here and chat during that time. I am on a lull for a few months, so figured I'd hang out and learn new stuff again. ...Show All

  • Software Development for Windows Vista Dec CTP SDK configuration error

    I have Win XP with SP2 on my system. I tried installing the Dec CTP of WCF. I have successfully installed WinFX runtime components. However, when I try to install the SDK, I get the following error: Windows SDK could not be configured, see the 'Installing the SDK' section of the Samples\Setup\HTML\ConfigDetails.htm document for more information. How do I get around this problem Hi JASON I had started with a clen machine the cofing is x86 windows xp with sp2 I had removed all veriosn of VS and .net runtime. I then instaled winfx dec ct release. Pls do let me know if u req ...Show All

  • .NET Development Opening an MS Access Database In Exclusive Mode Using ADO.Net

    Hello All, I am having a bit of a problem here and I am hoping that someone can shed some light on how to solve it. In both DAO and ADO you have the ability to open an Access database in Exclusive Mode. I cannot seem to find a connection string parameter that allows you to achieve this in ADO.Net. Does this functionality exist in ADO.Net If so, what is the correct syntax for this portion of the connection string Any help you can offer would be greatly appreciated. Thanks In Advance, V. Shane Curtis You can use "Exclusive=1" in an Odbc connection string to open it exclusively, if that hel ...Show All

  • Visual FoxPro pulling data from one field and making a new column out of it

    Hi all!!! I have two fields, work_id and sp_id. All sp_id's are related to the work_id's ie. work_id sp_id 1 000 3 000 3 111 5 111 9 000 9 111 i need the data to be listed by the work_id, then in another colum have it state whether it is one sp_id, the other sp_id or both sp_id work_id sp_id 1 000 3 both 5 111 9 both any insight life is short, but sweet!! Mike SELECT WORK_ID,MIN(SP_ID) AS SPID,COUNT(SP_ID) AS CNT; FROM TABLE; GROUP BY WORK_ID; INTO CURSOR TEMP SELECT TEMP SELECT WORK_ID,IIF(CNT>1,'BOTH',SPID) FROM TEMP ...Show All

  • SQL Server how to order stored procedures or tables by date

    We used to do this extensively in the old enterprise manager.. this is needed on big systems with lots of tables and stored procedures becuase you normally don't remember the name but it is the most recent thing you were working on.. anyone know how to do this in the new sql server management studio.. thanks In 2005 I would use system catalog view. Vincent ...Show All

  • Windows Forms Developer Express Grid control

    Hi Friends Environment : VB.net, Developer Express i want to store Developer Express grid control layout & Fields Order in a Cookie then i want to retrieve that grid Layout / Fields order / state from that Cookie by clicking a Developer Express Treeview control How waiting for reply... Maybe you should ask Developer Express this question: http://www.devexpress.com/Support/ Also, since you're obviously asking about the WebForm Grid, please visit the ASP.NET forums . ...Show All

  • Visual C# How to determine the size of data in a struct?

    I need to determine the size of the data / contents in a structure and not the size of the structure including the data which can be determined by using sizeof or SizeOf. example: struct { int data1; double data2; } sizeof or SizeOf returns "16" but the actual size of the data is 12 - how to determine that Thanks Ole Hi Ole I think that's because of the struct member alignment (default 8byte). Each member in the struct is aligned to the next 8 byte border. That makes a size of 16 bytes for your struct. This struct takes 16 bytes in the memory, for what purpose do you n ...Show All

©2008 Software Development Network