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

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

zille

Member List

dmetz
Ferener
RADIOGENERIS
John.Doe
scottm87
Toan
A.Carter
error1408
HendrikG
James Bender
Argenta
zlatkoc
Tim Mercer
Erik BN
djshades2004
René C. Kiesler
TCK
Mark Remkiewcz
Nonu_k
Wee Bubba
Only Title

zille's Q&A profile

  • Visual C++ some charactor losed

    i build a vc++6.0 console program,and use HINTERNET send a string to server,and on server,i use asp script receive this string and insert it to access database,when the string include character as '\0',just like a[0]='a',a[1]='b',a[2]='\0',a[3]='c',the script dose not work well,it lose some charactor,why and how to solve this problem Hello Re: some charactor losed Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups. OTP Thanks Damien ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to use View and Projection matrix?

    Hi. I'm trying to draw a vertex buffer (using PositionColored vertex) but I can't see anything. So, reading about it on the web, I've found that I need to set two matrix: Projection and View. I've donet it! Take a look: // Create the vertex buffer private void OnVertexBufferCreate(object sender, EventArgs e) { VertexBuffer buffer = (VertexBuffer)sender; CustomVertex.PositionColored[] verts = new CustomVertex.PositionColored[3]; verts[0] = new CustomVertex.PositionColored(0.0f, 1.0f, 1.0f, Color.Aqua.ToArgb()); verts[1] = new CustomVertex.PositionColored(-1.0f, -1.0f, 1.0f, Color.Black.ToArgb()); verts[2] = new CustomVertex.PositionColored(1.0f, -1.0f, 1.0f, Color.Purple.ToArgb()); buffer.SetD ...Show All

  • Visual Studio Tools for Office Working with Headers (this is working now)

    Using VSTO in VS.net 2005.  I would like to include a picture in my MS Word 2003 header.  The picture I would like to insert at runtime will depend on an action selected by the user in a smart tag ("Insert Logo").  I would like to just include the possible pictures in the same directory with the application add-in, and refer to the paths at run time. So far I have had problems getting the header pane to close, and figuring out how to insert a picture from a file.  This is the first page header code I started with: Private Sub AddHeaderPic() Dim i as integer i=1 ' for first section For i = i to 1 Globals.ThisDocument.Section(i).Headers(Word.WDHeaderFooterIndex.wdHeaderFooterFirstPage) _  .Range.Sel ...Show All

  • Windows Live Developer Forums Where can I start?

    Hi all, I'm interested in creating a plugin for WLM. For example : add a button into the WLM's main window, or into the chat's window, send and receive a message from an another application , ... Can I use VC 6 to develop it Or can I use .NET to develop it and make it comunicate with my application that is created with VC6. Do you have somme samples to make me have some idea please Where can I start I'm a newbie, so help me please even if my questions are simple. Thank you, Hzocm (i'm sorry for my bad english, but i tried my best) .NET ;). You can add reference to Messenger API Type Library (this is a COM library). Then use classes from namespace MessengerAPI. But there some problems with windows live messenger: http://forums.mic ...Show All

  • Visual Studio Express Editions Hide console window launched by application

    Hi all, I need to make an application that will launch a console application with different user account and hide that console windows. So the code is: Process itFPS = new Process(); itFPS.StartInfo.FileName = "snetcfg.exe" ; itFPS.StartInfo.Arguments = " -l \"" + libPath + "netserv.inf\" -c s -i MS_Server" ; itFPS.StartInfo.WorkingDirectory = libPath; itFPS.StartInfo.UserName = uid; itFPS.StartInfo.Password = spass; itFPS.StartInfo.UseShellExecute = false ; itFPS.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; itFPS.StartInfo.CreateNoWindow = true ; itFPS.Start(); But with "UseShellExecute" set to false and username, password specified, neither "StartIn ...Show All

  • SQL Server Show table create date AND TIME for tables in a database?

    Is there a way to change the info displayed when working with tables in a database I'm really, really, _REALLY_ missing the timestamp component on in the "Created" column and would like to have it back if possible. Seems like it is there behind the scenes, but just isn't displayed. Did I miss a date format option setting somewhere Thanks for any assists Rob Yes, looking for the date and time of the table's creation but I would like to have it visible in the Management Studio GUI when I look at the list of tables. Back in SS2K the date and time were visible, but in SS2K5 only the date is visible - I'd like to know if there is a way to make the time portion visibl ...Show All

  • Visual C# How to capture screen with DirectX?

    I'm trying to build a program which record desktop screen change. My program must capture screen at least 10 times per second. I'm currently using GDI to capture screen, but it take ~50% CPU usage. I think that capture screen with DirectX is better solution, but I don't know how to do this. Please help me Is there another way to record screen TightVNC use minor driver (http://www.demoforge.com/dfmirage.htm) to capture the screen. I installed DemoForge Video Hook Driver, but I don't know to capture the screen with this driver. Please help me. Thanks ...Show All

  • .NET Development insert rows from datagrid into database

    hi! in my datagrid there are multiple records that needed to be inserted to my database. my problem is that it would be inserted to only one row and it would depend on the id. for example: - the datagrid will have 3 columns (student id, subject, grade) the rows will be (2006-01, Math, 88), (2006-01, English, 87). - the database has 5 columns (student id, math, english, science, history) -- i need to insert the grade in their corresponding columns based on student id.  how could i do this i'm really confused right now and any help is appreciated.. Loop through all rows of the datagrid. Then decide if you need to send an insert or an update to the database for each row ...Show All

  • Visual Studio 2008 (Pre-release) Are samples old or is my intellisense broken?

    Let's say I have this in an App.config file for a WCF service: <configuration> <system.serviceModel> <services> <service type="GreetingsService"> <endpoint address="" binding="wsHttpBinding" contract="IGreetings" /> </service> </services> </system.serviceModel> </configuration> The 'type' attribute for the tag <service> (set to 'GreetingsService' in my example) is not recognized by intellisense. Was this attribute replaced/ dropped and the sample is no longer accurate with the latest WCF or is my intellisense somehow not working and if it is, any ideas how to fix it Thanks, Trevor ...Show All

  • SQL Server Using Stored Procedures with Report Builder

    New to the forum here. I'm having a trouble. My company is contemplating using Report Builder as an end user tool as opposed to giving everyone a copy of Visual Studio. I'm studying the feasability on this. A problem I'm running into, is that it doesn't seem possible to use a stored procedure as a data source. All of our standard reports are based off of stored procedures. Now granted, I'm talking about just Report Builder. I know how to base a report off of a SP using reporting services in VS. So, my question is, can you create a report off of a SP using only Report Builder, and if so, the steps Thanks guys! I'm not sure I follow you. By server explorer, do you mean enterprise manager I already have the stored procedures creat ...Show All

  • SQL Server Database Mail 101

    Question 1: From what I understand, Database Mail can only be used to Send, not Receive, email. Is this correct Question 2: I can hear our developers saying "way too complicated. When an error conditon is sensed by our app we can simply have the app send an email to our email server. Done." With that in mind what does Database Mail have to offer our developers that they can't easily do in their app TIA, Barkingdog Hello, 1: Yes. DBMail can only be used to send. 2: For a start, Dbmail can be used to issue e-mail alerts in response to database-engine related events (job completion, errors etc) as well as including query results in the message. I believe you'd have a hard ...Show All

  • Visual Studio Express Editions Can I store formatted text in sql express?

    Is it possible to store formatted text such as RTF if to an SQL database And while I'm on... Do the MDF files work like the good old Access MDB files The application I'm creating requires swapping from one database to another. E.G. An engineer vists a client and enters data into the database. He then gives a copy of the database to the client. Does the client only require the MDF file or will they need to install SQL Server Express Cheers. I believe they would need SQL Server express installed to access the files and perform the queries etc... In regards to storing formatted text - this is not a SQL issue. SQL just holds "raw" data. So its up to you how you wish to format and store data. ...Show All

  • SQL Server Where to use SQLCLR ? Data access is not recommended?

    Just wondering which scenarios is suitable to use SQLCLR. Any kind of data access is not recommended I guess. Only things that cannot be easily done in TSQL should be done in SQLCLR but why Can't those things be done in app layer itself Scenarios recommended for SQL CLR: - External data access like filesystem, registry etc - Complex calculation - Recursion without data access (this can be implemented with CTE for data access) If data access with SQL CLR is not recommended why should CLR should be even used and logic reside in database layer.. it makes no sense to me. Any thoughts Hello Adam Machanic, I have already read that article before posting my question in this thread. My conclusion was also based o ...Show All

  • Windows Networking Development DnsQuery crashing on successful NAPTR queries

    We are porting an application using DnsQuery from XP to Vista. Every single successful NAPTR query crashes inside dnsapi.lib under Vista (but not under XP). However, unsuccesful NAPTR queries function normally (i.e. do not crash). We tried to use directly DnsQuery_A, DnsQuery_W and DnsQuery_UTF8 and did get more lucky. Would anyone have an idea how to resolve this Thanks Hi Guy, Can you give me more info on the NAPTR record that you have on the DNS server Thanks Ragini ...Show All

  • Visual Basic Write data in VB.NET to Access using SQL

    Okay, I have an Administrator page that is able to create new users. I have a simple adduserform that has a TabControl added in it with a tab for General Info and User Info. Those have quite a few texboxes for input and outside of the TabControl are 3 buttons that are Save, Clear, and Exit. What I want to do is have the Save write the data to my small database that I have for users. If you want to see an example of my screen you can see it here.... http://redbearcustoms.no-ip.info/VB/adduserform.html I dont think these forums yet have a feature to attach a picture but only links to a picture. As for inserting into database, this is not a problem. Here is a small snippet of code which will insert data i ...Show All

©2008 Software Development Network