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

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

zcwhgj

Member List

pet9834792873928347
John Layton
Joel Just Joel
arctix
DrFlick
Kevin Wu
C Dionne
Richard Chenglo
akodad
Flecki
Jayant Mohanty
Jayanthi
nbn
mAh3u
Chih Chengt
slimjen1
Mark Ihimoyan
Andrew Clark
edralph
vnavna
Only Title

zcwhgj's Q&A profile

  • SQL Server Print is not allowed in UDF

    I want to put some trace in the a UDF, so I put print in the function. IT gave error. Can anyone please explain why this happen. But this work with SPs. Cheers Shimit Hi, this is just simply one of the limitations UDFs take, like not being able to execute something via EXEC or executing a SP in common, or using GETDATE() in functions... HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms Multiple monitors

    I can get the number of monitors connected to a system by using the SystemInformation.MonitorCount property, but is it possible to force an application to appear on a monitor other than the primary  FWIW, I just tried it and it works fine. I hadn't played with this yet, and was eager to give it a try. Very cool! -- Ken ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. HLSL: receiving a handle to a struct

    Hi! I'm having trouble receiving a handle to a structure in a hlsl file. This is the structure: struct VS_SIMPLE_INPUT { float4 pos : POSITION; float3 normal : NORMAL; }; And I try to receive the handle like this: pEffect->GetParameterByName( NULL, "VS_SIMPLE_INPUT" ); It doesn't work, I get a NULL ptr. Can anybody help me Well, I just noted it seems not possible what I'm trying to do. A handle to a structure seems not possible. What I'm trying to do is to receive information about a vertex shader input structure from the fx file, to automatic ...Show All

  • Windows Forms problem with threads between framework 1.1 and 2.0

    Hi people, My small applicaton is working well on framework 1.1 but when I use 2.0 beta, it's giving me an exception:  Illegal cross-thread operation: Control accessed from a thread other than the thread it was created on. Does anyone have an idea about this thanks, talal Hi, Thanks for the tip. I managed to make it work using ContolInstanceName.BeginInvoke( ...Show All

  • Visual Studio Express Editions Where's all the templates

    G'day I've been following along with Bob and his Learn Visual Basic.net video tutorials but I'm stuck on lesson 6. His first example involves using a class template however my Visual Basic Express edition hasn't got that one, or several others he has - Dialog, Explorer Form, MDI Parent Form, About Box, Splash Screen, Module, Data Series, SQL Database, User Control and Text File. I have installed SQL Server Express & SQL Server Management Express. Even his Windows Form template on mine is called Windows Application Are we using different versions or is somewhere I can get these extra Visual Studio Templates ...Show All

  • Visual Studio Express Editions notepad

    Hi to all, Iam implementing a notepad application.When i seleceted from Format->font menu the fonts are applied to the existing text in the textbox.After applying i saved the application.But the selected fonts from the Font menu are not applied to the text I used the following code for saving streamwriter sw = new StreamWriter (--filename); sw.Write(textBox1.Text); sw.Close(); Please help me. Thanks in advance. This is because plain textfiles don't include fonts. You must use RTF for example, put a RichtTextbox on your form and use the Save method of it to save the current Text in RTF form ...Show All

  • .NET Development .NET on Linux

    .NET on Linux, is this possible thanks Another option aside from Mono is the shared source CLI ( http://www.microsoft.com/downloads/details.aspx FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0&displaylang=en ), you can also try searching for "Rotor". I dont believe it is supported on Linux, but it is on osX and BSD. One thing to note is that the license for this is different from the normal redist. Hope that helps. ...Show All

  • Software Development for Windows Vista WorkflowWebRequestContext.Current is null with SqlWorkflowPersistenceService

    Working with beta2, if I try to add SqlWorkflowPersistenceService to my webconfig, the WorkflowWebRequestContext.Current become null in my aspx page. Then if I add only ManualWorkflowSchedulerService and DefaultWorkflowTransactionService, without adding SqlWorkflowPersistenceService, WorkflowWebRequestContext.Current isn't null and WorkflowWebRequestContext.Current.WorkflowRuntime is succesfully loaded. How could I add the SqlWorkflowPersistenceService This is my web config file < xml version="1.0" > <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings ...Show All

  • Visual Studio 2008 (Pre-release) ServiceEndPoint.Binding

    Is there a way to serialize a Binding so that I can deserialize it some where else and use it with a proxy. SomeProxy proxy = new SomeProxy(DeserializeBinding(bindingBytes or Xml), new EndPointAddress("....")) Hi Dan, Yes, what you are seeing is quite legitimate. If we get back to the basics, the binding means; "HOW" you communicate (i.e. if defines your transport, your encoding, other protocols you use (e.g. WS-RM). So the tools like svcutil.exe reads your contract and builds the binding as necessary. However, there are certain properties which are not actually expressed in yo ...Show All

  • .NET Development JIT Debugging VS2005 beta 2 on Windows Server 2003 X64

    I installed the VS2005 Beta 2 on a fresh installation of Windows Server 2003 X64 and all is OK apart from JIT debugging. Even DebugBreak()  just kills the application. Native JIT is enabled in VS 2005 debugger options. Any ideas Thanks Yes, that works for me as well. I can only assume that there is some kind of security setting that is preventing my app tripping the JIT Debugger. It is running as a child of an ISAPI extension running in its own IIS Application Pool. Neither the Application Pool or the child will do the DebugBreak yet the ID they are both running under is a member of Administrators. I h ...Show All

  • Visual C# Registry Monitoring for Service

    I would like to know if there is a Registry Monitoring Available. I am using External App to change setting and such in the Service app by changing the value in Registry. But somehow I must be able to signal the service to load the new setting. Please let me know how this is possible. You can try polling(checking the status of) the Registry at regular intervals using Timer class and change the settings accordingly. However, there might be a better way. I won't take guarantee on this solution being the best :) ...Show All

  • Visual Studio Changes to the ProjectName from a Wizard is ignored

    Hey GAT team! I have a fairly simple project template that is running a recipe that helps the developer build the ProjectName for the new project. (among other things of course ;-) The recipe contains the ProjectName argument, ie: < Argument Name = " ProjectName " > < ValueProvider Type = " Evaluator " Expression = " $(AppNamePrefix).Entities " > < MonitorArgument Name = " AppNamePrefix " /> </ ValueProvider > </ Argument > And allows the user to view / change it within the Wizard, ie: < Fields > < Field Label = " Project Name " ValueName = " ProjectName " /> &l ...Show All

  • SQL Server Error in Synchronizing Data

    I tried to subscribe to the database that is published on my laptop running on windows XP professional SP2 and using SQL Server 2005. However, in the second step (synchronizing data) the following error message occured: Synchronizing Data (Error) Messages A request to send data to the computer running IIS has failed. For more information, see HRESULT. HRESULT 0x80072EE2 (28037) The operation could not be completed. Anyone can help me on this   Are you able to browse the URL from any other machine than PDA   If yes, then IIS is not blocking but its an issue of general connectivity between your PDA a ...Show All

  • Visual Basic Redundant DragDrop procedures for multiple textbox fields

    Using DragDrop text entry in textboxes is really cool, but is it necessary to have the following event handler for each and every textbox on a form Private Sub TextBox3_DragDrop( ByVal sender As Object , ByVal e As System.Windows.Forms.DragEventArgs) Handles TextBox3.DragDrop TextBox3.Text = e.Data.GetData(DataFormats.Text) End Sub Or can a less redundant programming reference be made to handle multiple textboxes where DragDrop is permitted Thanks! Just add each necessary event to the handler: Private Sub HandleDrop(...) Handles TextBox1.DragDrop, TextBox ...Show All

  • Visual Studio Express Editions how to import Bookmarks favorites file to treeview

    hi i'm export my favorites links from internet explorer as html file now i want to import this ( html ) file to tree view on my form i can read form this file and get folder name and URL but i cann't make it as tree it's now in on level only i want to read from this file and make tree view in many level can you help me if you want to explanation pls tell me   i'm also search for this code but i have an wxample it's show folder and url in bookmarks , but it's show in one level can any one help me to show in multi levle as tree this is my example http://www.segaaal.com/Read_Bookmark.zip   ...Show All

©2008 Software Development Network