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

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

Lugaidster

Member List

hazz
Ridhi Dua
Picho451970
tkroll
asiaindian
marebear12
MukilanP
kirchu
Damir Dobric
bubberz
Waiman Li
danych
William Lowers
Sanchit Bahal
Mateus1223
fasttrack
seco
frank chen
Jassim Rahma
Tailor
Only Title

Lugaidster's Q&A profile

  • SQL Server Function with Dynamic Column Name without Execute statement

    Hi, There is a table named status keeping status of a policy at the end of every month. The schema of the table is as below. sym pol mod stat_198612 stat_198701 stat_198702 stat_198703 AAB 1409502 00 f f f f AAB 1409502 01 f f f f AAB 1409503 00 f f f f AAB 1409503 01 f f f f AAB 1409504 00 f f f f AAB 1409505 00 f f f f AAB 1409506 00 f f f f AAB 1409507 00 f f f f AAB 1409508 00 f f f f AAB 1409509 00 f f f f I want to write a function by using Sql Server 2000 so that I can pass the value of sym, pol, mod and month_end_year like '198612' and will get the status of the policy. I know that the create function has certain limitation in SQL2000 and support Execute statement only for extended stored procedure. Any Quick sug ...Show All

  • .NET Development Hook desktop redrawing.

    Is there any way (other than global hooking, which is disabled in .net) to catch events for desktop refreshes Has anyone ever tried this and managed a workaround to the global hook problem Or maybe someone could divert me to a C++ 2005 project that can do this for me.... Please ;) BTW I see ahmedilyas is the new king of the hill! Nice one ;) AndrewVos wrote: Any application. My program is being drawn using DC's over the actual desktop. It would be much more efficient if I didn't have to constantly redraw! Hmmm, Dont think that you accept event through C# that which Window is Redrawn at what time. Anyhow best of luck, If you get solution also share with us. Thanks!!! Best Regards, ...Show All

  • Visual C++ Command Line Compiler mscorlib Location

    Is there a command line argument in Microsoft's C++/CLI compiler that prevents the compiler from looking for mscorlib.dll in: c:\windows\microsoft.net\framework\v2.0.50727\ Our build environment requires that all builds be consistent and reproducible. This means that there should be as little reliance as possible on the configuration of the particular machine used to build the software. We require all components referenced during the build process to come from a single shared location, not from the user's local hard drive. C# and VB both provide the "/nostdlib" command line argument but I cannot find anything similar in C++/CLI. Any thoughts Try using: Tools + Options (Show all ...Show All

  • Internet Explorer Development How to add "Open in new tab" to custom context menu?

    Hello, I am glad that there is a special forum for add-on developers :-) Here is my first question that was not answered on the IEBlog yet: I have customized the context menu of IE based on the standard menu that is located in the shdoclc.dll. Unfortunately, the dll resource does not include the "Open in new tab" item in IE7. What is the recommended way to add this menu item to a customized context menu Of course, it should also depend whether tabbed browsing is activated or not. Thanks Viktor -- http://www.quero.at/ The New Web Experience ...Show All

  • Windows Forms Panel Autosizing

    I have a small windows form that contains a single FlowLayout panel, set to Autosize. When the form is shown, I add a series of buttons to the panel (from top to bottom). Depending on the number of buttons added, and their width, I then want the panel to automatically resize to exactly encompass all the buttons. However, the panel is not autosizing. I have tried using Invalidate() to make the form repaint, but I must have wandered way off track. Can anyone please guide me on making a panel autosize to show the buttons Thanks     I think I have answered my own question... I needed to set AutoSizeMode of the panel to GrowAndShrink (it was GrowOnly). ...Show All

  • Visual C++ Try...Catch doesn't catch access violation exception?

    VS2005 C++ and MFC. Under certain abnormal conditions, my application causes an access violation (c0000005), and the program crashes. I have tried inserting try { } catch (...) { } around the offending code, but this doesn't catch this exception. Is it possible for the try...catch mechanism to catch this kind of exception Thanks, Jim By default C++ does not catch this type of exceptions (asynchronous). The following compiler switch ( /EHa ) should be what you need to make it work: http://msdn2.microsoft.com/en-us/library/1deeycx5.aspx ...Show All

  • Visual Basic Temp Image file is locked and cannot delete

    Hello, I just can't seem to get this to work right for some reason. I am getting pretty frustrated and I am sure it is an easy fix. I have the following line of code: Dim pictForm As Image = Image.FromFile(strFilenameJPG) In the next couple of lines, I draw the image into my graphics object. The strFilenameJPG varaible is just a temp file. When I have completed my grahpics work, I want to delete the file. I use the following line: Kill (strFilenameJPG) However, I get an I/O error every time saying that the file is in use. I have tried several methods such as disposing the pictForm object and setting it equal to nothing, but I always get the same error. Any help would be appreciated. Tom I found out what t ...Show All

  • Visual Studio Team System Custom work item control x ReadOlny rule

    Folks, I'm writing a custom work item control and I can't manage to access the ReadOnly rule value from inside the control. The ReadOnly property (implemented from IWorkItemControl) is called twice when the form is loading, but after that it is never called again. Here follows the work item definition regarding this context: <FIELD name="the name" refname="MyField" type="String"> <HELPTEXT>something...</HELPTEXT> <ALLOWEDVALUES> <LISTITEM value="Passed" /> <LISTITEM value="Failed" /> </ALLOWEDVALUES> </FIELD> <STATE value="MyState"> <FIELDS> <FIELD refname="MyField"> <READONLY /> </ ...Show All

  • SharePoint Products and Technologies Workflow without Association and Instantiation Forms

    Hi, I`d like to make a workflow without Association and Instantiation IP Forms but I have a IP form when the user to approve or reject the task. When I remove those red lines: <Elements xmlns=" http://schemas.microsoft.com/sharepoint/ "> <Workflow Name="Sample: State Machine Approval" Description="Simple workflow that waits for an initial and final approver to sign off and goes back to the author for revision if rejected." Id="48500BEB-D1BE-4ec4-8D21-5DEF76BEEDDD" CodeBesideClass="Microsoft.Office.Samples.ECM.Workflow.SPSMWorkflow" CodeBesideAssembly="Microsoft.Office.Samples.ECM.Workflow.StateMachineApproval, Version=1.0.0.0, Culture=neutral, PublicKe ...Show All

  • Software Development for Windows Vista Workflow VB.Net examples: interfaces and local service

    Does anyone know where I could find some example in VB.NET that use Windows Workflow (not C#) Specifically, I'm looking for code that shows how to implement an interface needed to define the contract between a workflow and service and local communications between the host and workflow. If you are looking for ASP.NET examples in VB.NET look at the persistence and tracking sample found here . ...Show All

  • Visual Basic Data Grid / Data Grid View.

    Hi all, I am developing an Inventory system for my project, I need to know the steps need to display data in a Datagrid view or DataGrid, when I select a particila Item. Requirement, User should be given a comboBox to select the Item no. Once selected the respective Item Details should appear from Item file. Then the user should enter the Quantity. Once the quantity is enterd the entire data should be saved in the OrderLine File. ============================================================= As mentioned above my problam is, binding the DataGridView to two members, i.e. ItemFile and OrderLineFile. I need to read and diplay items from Item file onto the DataGrid and save it to the OrderLineFile with the Quantity, f ...Show All

  • SQL Server Multivalued Parameters

    Hi, In my report i have to display the dynamic columns i.e we have to display the columns available to the user user can select what columns he want in the report.In SQLSERVER reporting services there is no Check box filed,thatswhy iam displaying available columns to the user in a parameter named "Columns" and marked that parameter as 'MultiValued'. In the report body for example i have CaseID,age,Date columns,For CaseID column Visibility:Hidden-> iam writing the following expression,=IIF(Parameters!Columns.Value(0)=TRUE,False,true),and for Age column Visibility expression is=IIF(Parameters!Columns.Value(1)=TRUE,False,true).When i run the report iam getting this error:Index out of bounds.Why iam getting this error. ...Show All

  • Visual FoxPro drop-down combobox problem

    Hi I'm still struck with the combo drop-down part problem for nearly 2 weeks and need help from you. When the values of these 2 textboxes match with each other, the list of employee is able to display on the combo drop-down. But I have one problem :- The list of employee on the combo drop-down repeat unnecessary (even a few blanks) when i changes the values of textboxes. How to refresh the combo drop-down once the values of textbox changes Thank you. I put same values like company codes in both txtboxes. For example, txtboxA = ABCD and txtboxB = ABCD and narrow down the list of employees who works in ABCD. But if I change the values from ABCD to POIU, the result is that the list of employees in ABCD and POIU are to ...Show All

  • Windows Forms how to use picturebox

    Hi! I have a question that how to use picturebox. If I want to load pictures from a file. My reference says something like; pictureBox1.Image = Image.FromFile( ); What would it be after FromFile Should I put file address of the pictures Thank you for help. Interesting Thread ...Show All

  • Software Development for Windows Vista looking for web editor for business processes for WWF

    Currently you can visually model workflows by using Visual Studio or by implementing graphic editor to WinForms apps. Does anyone know about Microsoft's plans on web editor I have an example on my blog - http://www.masteringbiztalk.com/atlasworkflowdesigner - and you can get the code from this post - http://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,5880f478-b448-4c39-9f2e-382d942a7b82.aspx ...Show All

©2008 Software Development Network