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

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

Ryn

Member List

smhaig
Loki70
Greg1997
J P R
RostaB
CSharpNewbie22
sfabriz
ottogbg
Jamie Thomson
John123
TA123
HopeDreamsComeTrue
Hooper
ernisj
VSFW3
Pure Krome
monkeycz
liujj_xujj
Beetle54
EsteemDE
Only Title

Ryn's Q&A profile

  • SQL Server HOW to Retrieve an image from sql server and display it in ASP.net using "imagemap or image" ?

    Ok, the problem is that , i have a field called "Attach" in sql of type image, when selecting it , the field is getting data of type BYTE(). which am being unable to display them on an Image on the panel. using the following vb.net code: 'Dim sel2 As String 'Dim myCom As SqlCommand 'Dim conn As New SqlConnection 'Dim drr As SqlDataReader 'Dim image As System.Drawing.Image 'sel2 = "select * from attach where att_desc = '" & DropDownList1.SelectedItem().Text & "' and doc_code = " & w_doc_code & " and subcode = " & w_doc_subcode & " and doc_num= " & w_doc_num & " " 'conn.ConnectionString = ("server=developer01;u ...Show All

  • Visual C++ prob with DLLs msvcr80 etc, and deplying a simpl hello world on target machines

    Hello, I am an absoulte newcomer to Visual Studio, let alone Visual Studio 8. I am having problems deploying a simple Hello World (developed on XP) application to windows 2000 and 2003 machines. It runs on machine on which it is built but not as a 'release" on destination machine (DLLs missing). Problem ONE I tried copying the named DLLs (msvcm89.dll, msvcr80.dll, mscroee.dll - last one down loaded) to the destination machine (windows 2000), now it says to set registry entry for .NET framework root installation etc. I tried building using /MT switch but it says incompatible /clr option (Common Language Runtime support). Every option under Common Language Runtime support gives same error. If I select 'No Common Language Runtim ...Show All

  • Visual C++ Unmanaged C++ and VS2005: Hidden .NET Requirements?

    Hi everyone. While developing some unmanaged C++ DLL that uses COM and ATL, I've been having issues with deploying the DLL to other machines - those without .NET Framework v2. I've found out after some digging that changing the runtime library from its default to one of the debug libraries (and none of the DLL ones) removed this dependency, but introduced some crashes that im not entirely sure are related to my own application's logic. What is the proper way of creating unmanaged c++ DLLs in VC++2005, Who use ATL and COM Thanks in advance. You make many valid points. I tend to agree, however, I'm trying to live by the other approach (dynamic) for a while to see how it works out. Who knows, I may switch ...Show All

  • Windows Forms Dates in PropertyGrid

    There seems to be a bug with dates properties shown in the PropertyGrid. When the value column of the PropertyGrid is wider than the standard monthview control, the dropdown extends the whole of this width, with the monthview appearing on the left, and a large amount of white space to the right. This doesn't look great. What's curious is that if you look at date property of a control in the properties window of Visual Studio, e.g. the MaxDate of a monthview control, this bug doesn't occur, i.e. the dropdown appears on the right and has a width which matches that of the monthview control that it contains. Any views on how to get this correct behaviour in one's own applications Hi, Please post your b ...Show All

  • Software Development for Windows Vista How to get Replicator data in Parallel

    When using a replicator with replicatorActivity1.ExecutionType = ExecutionType .Sequence; I can query the replicator data for the current executing activity in this way replicatorActivity1.CurrentChildData[ replicatorActivity1.CurrentIndex] When using replicatorActivity1.ExecutionType = ExecutionType .Parallel; replicatorActivity1.CurrentIndex is always the last index ( the replicator InitialChildData collection length -1) The question is: How can I query for the current data instance of a replicator in an activity that is running under the Parallel ExecutionType. Thanks in advance You will need some place to store the child data.   The ea ...Show All

  • Visual Studio Express Editions Loop through system colors?

    How can I loop through all the system colors I want to draw a filled rectangle with each of the colors that are available & print them to a laser printer so I can see & compare the various shades of gray that each color prints out as. Thanks... Instead of enumerating through the colors and creating all those brushes which you are not disposing, you can just enumerate through all the brushes in the Brush class and not have to create brushes of your own. ...Show All

  • Visual Studio Team System VS Crash on Check-In

    When I try to check-in a file that I have previously checked-out I get an APPCRASH in devenv.exe. I'm running VS 2005 SP1 with the Vista hotfix. I have read a couple different posts related to F-Protect, Visual Studio 2005 and Team Explorer causing a crash. This was very similar to my problem, except I see no reference to ntdll.dll as the FaultModule. Instead the FaultModule is StackHash_9eb0. I don't have real-time virus protection running, so I do not believe this is the issue. Does anyone have any ideas I'd rather not uninstall / re-install...it takes forever. Apologies. No idea what might be causing this. I think your best bet is to call MS product support and see if they have anything in th ...Show All

  • Visual Basic Label not visible on form when Text property is blank.

    I blanked out the Text in design time since I only want it to display when a button is clicked during run time. However, I wanted to relocate the label on the form and there's no indication of where it is during design time. Is there any way to display the label on the form and access its properties in the Properties window Go to the properties window (normally F4) and select the control from the dropdown list of controls on the form at the top of this window. The control will be selected.  Which will enable you to drag and reposition it. Or you could adjust the properties directly to reposition it. For what you are trying to do - I'd leave the text alone (with text in there) so its always easy to drag it around at desi ...Show All

  • Smart Device Development Running a device APP on the PC thru Pocket PC 2003 SE Emulator

    The code below runs fine thru a windows APP., but does not run thru the pocket pc 2003 se emulator. Is there something wrong in the My.Computer ... portion of the code Please help. Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim file As System.IO.StreamWriter Dim Record As String = CStr (TextBox1.Text) Dim procID As Integer file = My .Computer.FileSystem.OpenTextFileWriter( "C:\HSP1.text" , True ) file.WriteLine(Record) ' Run batch file. procID = Shell( "C:\HSP1.bat" ) ' The preceding path is for Windows XP. ' The Windows 2000 path is C:\HSP1.bat. End Sub ...Show All

  • Silverlight (formerly WPF/E) Text and Linking

    I'm looking to redevelop an SVG map based application to WFP/e. There are two SVG elements that are used extensively that I cant find any equivelent to: - <use> element for referencing existing objects. <textPath> for rendering text along a path. Could anyone tell me whether if there are alternatives or other mechanisms that can be used Hi, Interesting to hear from somebody else that faces the same challenge of redeveloping an SVG application to WPF/e as I do. Even if <use> and <textPath> are not important for me there are other things I miss from SVG. The main thing is lack of css-support, it seams that one has to bloat the markup with per-element properties which is a big prob ...Show All

  • SQL Server VA Error please contact site administrator MCMS 2002

    Hi Friends I got a error in mcms db.( VA Error please Contact site Administrator ) In my application, i am using Sharepoint 2003, mcms 2002 and SQL server 2000. I using mcms placeholder in portal and retrriving the data's from mcms. in production i got a VA Error some times. Once this error comes full production haveing problem. we doing a temperature solution. i.e, There were two process on the mcms db that were bloked. These two were both owned by vzh/rc_admin - one was select command and other a DBCC. When the two processes were killed, the application retured to normal functioning. i need a permanant solution. Please do the needfull Thanks Jenkins ...Show All

  • SQL Server Flat File Data Source

    Is there away to use wild card in the file name for the flat file data source Like //servername/directory/*.txt No problem. To better qualify my answer BTW, you can use wild cards in your source. For example, you can look in the built-in examples that ship with SQL to see an example of this. See C:\program files\microsoft sql server\90\Samples\Integration Services\Package Samples\CaptureDataLineage Sample for more info. The loop gives you more flexibility though with this and allows you to do more advanced breakpoints and multiple tasks against the source file. ...Show All

  • Visual C++ problem with CreateDispatch()

    Hi, I have a wrapper created by tlb file to call managed dll by .NET 2003 used CreateDispatch() without problem. Now I have new same dll compiled by .NET 2005 and error on CreateDispatch(). When I trace deeper, I found the error happened on SCODE sc = CoCreateInstance(clsid, NULL, CLSCTX_ALL | CLSCTX_REMOTE_SERVER,IID_IUnknown, (LPLP)&lpUnknown); from a function, BOOL COleDispatchDriver::CreateDispatch(REFCLSID clsid, COleException* pError) in oledisp2.cpp Does anyone has an idea about this problem   Thanks This is really a COM question which may be better asked in the COM newsgroup (labelled OLE, however): http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rants on XNA 1.0

    This is my first reaction when I installed and tried the 1.0 of XNA. To summarize my feeling: it's still 95% for XBox and no nearer to replace the old MDX 1.0. So I decided not to migrate from MDX to XNA though I want to do that very much. I feel like MDX 2 more; amen to MDX 2. The hardest issue for me is the content pipeline, which is very necessary, but the workflow is fixed and it assumes the contents are only built before the program runs. The helper functions wrapping D3DX can only be used with types in the content pipeline. I have to utilize the full content pipeline just for generating something dynamically, of course with significant performance cost. Or I have to write those D3DX utilities my self. Currently I don't have a good id ...Show All

  • SQL Server Destination resets when changing selected databases

    I discovered that everytime I need to add a database to my backup Maintenance Plan, after I select the new database from the drop-down of databases, the Destination automatically resets back to a default location. I'm assuming this is a bug that will be resolved at some point, but in the meantime, I need to see if there is a way I can deal with this permanently. I am not the only one adding databases to the backup routine so I can't verify that this setting is properly changed every time we have a new database (which is about once a week). Thanks in advance. Actually, this is a server-side setting. If you make the registry setting on the server, and then connect to it from another node using Mana ...Show All

©2008 Software Development Network