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

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

maws

Member List

Reactive
LamptonWorm
techuser08
Young K
Matty1stop
TRTwiggy
JerberSoft
seco
HowardRichards
Hakan Gümüş
mistys77
philcart
Closer
Mathew1972
mstcrow5429
Howard Pinsley
~rabin
Adam Shipp
Jon_V
Andreas Gut
Only Title

maws's Q&A profile

  • Visual Studio TSQL Debugging stored procedures is not working

    Hello everyone, I have VS2005 Team edition with SP1 and SQL 2000 with SP4. I have an application that executes a stored procedure and I'm trying to step into it by adding a breakpoint but it is not working. Visual studio is giving me this warning: the breakpoint will not currently be hit I read this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=840978&SiteID=1&mode=1 and I follow the steps but still doesn't work. Does anyone have any ideas on how to fix this annoying problem Thanks a lot in advance Federico, If you have SQL Server 2000 SP3 or greater then you need to enable application debugging. Legacy T-SQL application debugging is disabled by de ...Show All

  • .NET Development Remove Empty tag from XML file

    Hi All, I have a xml document which has one empty element. I want to remove/delete it using aspx page. e.g. Xml file is in this format <abc> <xyz> <efg/> </xyz> </abc> In the above exampele I want to remove <efg> tag This taks is best accomplished using the XSLT design pattern "Override the identity transformation". The following tramsformation: < xsl:stylesheet version =" 1.0 " xmlns:xsl =" http://www.w3.org/1999/XSL/Transform "> < xsl:output omit-xml-declaration =" yes " indent =" yes "/> < xsl:strip-space elements =" * ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Direct3D Flickering Issue

    Hi there, I am having some problems with my screen flickering when I redraw my scene. Below is my code ... private void tabPage16_Paint( object sender, PaintEventArgs e) { //clear the direct3d device this .mDevice.Clear( ClearFlags .Target, Color .DimGray, 1.0f, 0); //send the scene info this .mDevice.BeginScene(); this .mDevice.VertexFormat = CustomVertex . PositionColored .Format; this .mDevice.DrawUserPrimitives( PrimitiveType .TriangleList, this.mVerts.Length / 3, this.mVerts); this .mDevice.EndScene(); //paint the scene info this .mDevice.Present(); } private void tabPage16_MouseMove( object sender, MouseEventArgs e) { ...Show All

  • Smart Device Development Serial Port problems

    Hi. Running Imate SP5m with .NET CF 2.0 SP1 I have contacted Imate (on the side: poor support) who confirm that Raw/Serial IR access is possible and is on COM3. In the registry it says COM4. Anyway... If I use the serial Port class to open COM4 and write to it, I have the issue where when we do a serialport.write("hi");, the application does nothing. it just hangs, no exceptions are thrown. It does not even get to serialPort.Close(); If I use the serial Port class to open COM3 and then write to it, I get an exception @ serialPort.Write("hi");: at System.IO.Ports.SerialStream.WinIOError() at System.IO.Ports.SerialStream.Write() at System.IO.Ports.SerialPort.Write() at SerialIrTests.Form1.mnuStart_Click() at System.Windows.F ...Show All

  • Windows Forms Column header painting - text margins

    Hi, By default, there seem to be 6 pixels between the column divider and the first letter of a column header. I'm trying to reproduce the exact look & feel of another application, which has 3 pixels in its grid headers. So I need 3 pixels, (left and right), not 6. Is there an easy way of setting this I looked at the FAQ, which had a section on "Row Pre Paint and Post Paint". I'm not familiar with GDI painting, is there any simple code I can use to get this effect I don't really have time to try myself at the moment... Thanks! Thanks Ye, I adapted your code to handle text overflows (the text in the headers may vary and not fit in the header). Made a custom class, header column height... It looks how I wanted! pub ...Show All

  • SQL Server Looking for suggestion of how to manage a DB file when it getting too big.

    Hi all, At our facility, we have a > 350 gigs database and the DB is breaking into 2 files. One file is our Image table with the size of 300 gigs. The other file contains all of the other tables. The image file is getting bigger and bigger everyday, I am worry that eventually when a data file getting too big it could lead into problem. - DB fragmentatio, hard to manage etc My question is anyone has run into this problem, and how do you solve it I am open for any suggestion. BTW: I am using SQL 2000. Thanks in advance. Use filegroups, Assign the frequently modified tables in one filegroup while those that don't get modified frequently be assigned in another filegroup. When you create filegroups, you also modify your ...Show All

  • Software Development for Windows Vista How to start process in session before user logs on?

    I have a need to start a process in a session before the user logons on. On XP I used a Windows Logon Notification Package to do this. When a new session was created, Winlogon.exe in that new session called my WLNP and it was able to start the process before the user logged on. The process is used to support smart card logons for that session. I'm trying to find out how to do something similar on Vista. I know logon notification packages are no longer supported. I know how to write a service to get session creation notification, but I don't know how to start a process in the new session before the user logs on. Is there a function I can use to start a process in another session If so, I could have my session tracking sevice start th ...Show All

  • Visual C++ Writing byte arrays back to a VB app

    Hi Guys, I'm trying to create a C++ dll that will take a byte array from a VB app and return the results into another byte array. I'm having no problems in reading the byte array and processing the data. However I am at a total loss as to how to get the temp_buffer data back to the VB app I have verified that temp_data contains the expected results by outputing the data to a result file, however no matter what I try, the odata array remains empty in VB. I've included some sample code to show how im declaring everthing, does anyone have any ideas where I'm going wrong int __stdcall encode(unsigned char *inputdata, const int ilen, unsigned char **outputdata, int *olen) { unsigned char *temp_buffer; int temp_len; ...Show All

  • SharePoint Products and Technologies Problems with replication of Active Directory password change to Sharepoint 2003

    Hi, we have a problem when some users change their password Sharepoint 2003 does not replicate the password from Active Directory. And the username/password dialogbox comes up. Is there a workaround for this problem Anyone else have the same problem This is the case for around 10 users now. And the only way to make sharepoint is setting the password back to the old password. Appreciate help! Thanks, Kjetil Tveit Hi Mart, we are using SPS2003 and WSS 2.0. How can i check if it is setup with AD auto creation mode The whole solution is not setup by me, and there is not much documented. The portal is running in the same domain as the user, and the user have tried logging in and out. Restarting and so on. We also t ...Show All

  • Visual Studio ReportViewer Cause error after deploying the webserver

    Dear all, When I deploy my web project into my Web server,everything is work,but except the report does not work properly. The config of my webserver is win2003 with IIS 6.0.And I make use of the report in the local processing mode and set "sessions state mode=InProc","cookieless mode=UseCookie"on the page of the state management in IIS. The error message is showed below Server Error in '/' Application. I I am having the same issue, but mine only occurs once when the application starts. If I press Refresh it works fine. I've set cookieless="false" and I've set cookieless="true" with the same results. I do want to ask Microsoft when we can see a fix to this problem I would also gue ...Show All

  • .NET Development IoC containers

    Where can I find more information about IoC with .NET   Recon wrote: Where can I find more information about IoC with .NET http://www.google.com/search hl=en&lr=&rls=GGLJ%2CGGLJ%3A2006-15%2CGGLJ%3Aen&q=%22inversion+of+control%22+.NET ...Show All

  • Visual Studio Team System Build errors

    when I do a team build of a web probject I am working on I get the following error: " error ASPPARSE: Could not load file or assembly " If I do a local build, it works fine, no errors, if I publish the site up, it works fine no errors. The assembly (dll) the error refers to is in the bin directory. This is all inside of a user control, if that has anything to do with anything.. Any ideas TIA! Blax.. Is the Team Build running on the local machine or another If it is another machine, could there be a permission issue with the account the build is running under not having the required permissions to either the \bin directory or the %WINDIR%\Microsoft.NET\Framework\vX.XXX.XX\Tempo ...Show All

  • .NET Development .Net 2.0 loaded 1.1 needed

    On a new system I loaded Microsoft .NET Framework 2.0, now some of my applications need Microsoft .NET Framework 1.1. Of which I can not load, even after unloading 2.0. Using XP Pro SP2. Any Suggestions Ordinarily a .NET application will try to run by the same framework version as it was compiled for (provided no overrides exist) and it is strange that installing the 2.0 Framework caused your 1.1 apps to try to run in 2.0 and stop working. Have you tried reinstalling/repairing the 1.1 Framework Also worth noting is that when you have multiple versions of the framework installed and you absolutely want to have control over the framework that your app runs in (provided it is installed) you can modify the apps config fi ...Show All

  • Windows Forms Accessing the value of a a DataRowView from a ListBox (How)?

    I'm trying to use a form with a ListBox to select from and populate another ListBox depending upon the selection in the first. The first is populated by a query to a project resident .mdb file. I'm running into a problem when it comes to figuring out the value of the item selected in the ListBox. I can see that the object selected upon the firing of the SelectedIndexChanged event is of type System.Data.DataRowView, but try as I may, I cannot figure out how to get access to the actual values ( strings " Core" and "Special" in this case). Am I missing a necessary cast somewhere, or is it just a property or method that I missed Am I trying to use something entirely wrong for the situation Any help would be greatly apprec ...Show All

  • Visual Studio Express Editions German Windows, English Excel

    I wrote a VB program in VBExpress 2005 English using English Windows XP and English Excel. The program launches excel using the following code: Public Sub OpenExcelFile( ByVal value As Integer , ByVal filename As String ) Dim objExcel As Excel.Application Dim oAddIn As Excel.AddIn Dim analysisfile As String 'Dim DataFile As String objExcel = New Excel.Application 'DataFile = TextBox1.Text & "\" & ListBox2.SelectedItem & ".csv" With objExcel .Visible = True .WindowState = Excel.XlWindowState.xlMaximized If FileExists(nmtoolsdirectory & "\Nonmemmenus2.xla" ) Then .Workbooks.Open(nmtoolsdirectory & "\Nonmem ...Show All

©2008 Software Development Network