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

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

NMF

Member List

Karthikeyan Mahadevan
TR Materene
DGRASoft
Drumedor
Ceres629
Tadwick
Binary
JohanGL
Juliano.net
Alluri Prasad
dmouser
ZaaM IT
andris11
ivods
Bartosz
TheSoddy
Matthew Power
aashta
loopool
magicalclick
Only Title

NMF's Q&A profile

  • .NET Development Data Refresh

    I have two form , one (summary) is a datagrid filled, one (detail ) is a detail, when I click the current record in summary, will go to form detail , I may update information here when I close the detail and back to the summary. I need to Fill again to get the latest data, but the row position is not my original current , is there any suggestion a caouple fo suggestions: either use the same bindingsource navigator for both the summary and detail information OR after you fill with the latest data manually set the record pointer to its last position ...Show All

  • SQL Server Simple error question?

    Hello all! Working with SQL 2000. If I create a rollback trigger for a value that can not be less 0. After it rolls back, can I throw a custom error message in my .net application from SQL Thanks! When you say rollback trigger, I assume you mean doing a rollback in a trigger when the invalid data is found You can, just use raiserror AFTER you execute the rollback: --make sure to take care of case where > 1 rows are modified if exists (select * from inserted where value < 0) begin rollback transaction --because some apps will stop after the error raiserror ('No value < 0, eh ',16,1) return end However, personally I would suggest you use a c ...Show All

  • SQL Server MDX Query

    Hi, Before I start, all the queries here have been used for my learning process and they may don't make any sense. I've got a little bit confused about the way a specific MDX query executes. Underestanding the following query is simple: (I used AdventureWorks sample database and DW) WITH MEMBER MEASURES.PROFIT AS ([Measures].[Internet Sales Amount]-[Measures].[Total Product Cost]) SELECT MEASURES.PROFIT ON COLUMNS, [Customer].[Country].MEMBERS ON ROWS FROM [Adventure Works] for each member of country hierarchy in customer dimention it calculates the profit. but I don't get how the following query is executed: WITH MEMBER MEASURES.LOCATIONNAME AS [Customer].[Country].CURRENTMEMBER.NAME SELECT MEASURES.LOCATIONNAME ON COLUMNS, [Customer]. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Absolute and relative mouse movement

    Usually when dealing with mouse input you want the data from the mouse in two forms, one is absolute that you might use to draw a cursor or know which part of the window/screen a user has clicked on, and the other is relative where you are only interested in how much the mouse has moved. Currently, the MouseState only seems to report the mouse movement in the absolute form. This means anyone using the mouse to control, for example, a first person camera would find their movement limited by the size of their window/screen. I have tried playing around with the Mouse.IsCaptured property but it doesn't seem to make much difference, quite possibly because I don't know how to use it. Am I correct in thinking that getting relative mouse input dat ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. texture2d problem...?

    Hi All, i'm new to XNA programming (and directx programming altogether). having a lot of fun with XNA and most things are pretty straight forward for a simpleton like me. here's a problem i'm having that i'm hoping someone can shed some light on. I'm using a lot of photos in my application (a slideshow!). I'm testing with 1 Texture2D and every few seconds loading another image into it using Texture2D.fromFile, etc... Here's what i'm experiencing - if I don't call dispose() on the texture before each new fromfile, it's a memory leak... this makes sense. the problem is that the texture seems to get confused on it's size. I'm using a mix of different sized non-square images. it's like the texture only reads the first texture size called and t ...Show All

  • Visual C# Good sites to understand Resource files in c#

    Hi all , I want to understand more on Globalisation can u plz forward site links Regards Prakash Patil Here you go .. http://www.codeproject.com/csharp/multilingual_pplication.asp http://aspalliance.com/957 http://www.c-sharpcorner.com/UploadFile/brijrajsingh/glbal_110012005021049AM/glbal_1.aspx ...Show All

  • .NET Development HttpWebRequest and ServicePoint

    Hi. I have faced a problem that I still cannot find solution for. I need to execute web requests to SAME web server using different source IP and port combinations. Yes, I know that I should use ServicePoint.BindIPEndPointDelegate and I use it. But my problem is that I have multi-threading application and because I use same destination address I got same ServicePoint instance for all threads and therefore can use only one combination of source IP and port in time. Does anybody know solution to this problem I'm using .NET 2.0. Thanks. Thanks for reply. I know that this bind delegate will be called and it's called. But you seems not understand my problem. Imagine I have 10 threads and have 10 local I ...Show All

  • Smart Device Development Automatic build of Multiple Platforms CAB's

    I have a VS-2005 solution with a CF2 main application and some aditional CF2 dll's. There is also one native dll in there. I included in the solution a CAB project to pack my installation, but now I have a concern: I need to build my CAB for all the different platforms where I intend to use my application (let’s suppose PPC-WCE4 and WM-WCE5 initially). How can I automate it to build booth target CAB's (with their respective projects, of course) at once In my searchings I could not find anything worth in .NET projects (i.e. http://msdn2.microsoft.com/en-us/library/ms165408.aspx). My native dll goes fine in building all target platforms at once, but .NET is "cross-platform", and the CAB project is platformless! It is possible that ...Show All

  • Visual Studio Function evaluation disabled because a previous function evaluation timed out. You must continue execution

    This error happens when you sit at a check-point for around 30-40 seconds. Is there a way to disable this When I attempt to continue execution (to another break-point on the next line), it does not stop. Is this a Visual Studio setting or a runtime setting. Here is one situation that can cause the problem. Passing the user interface object into a subordinate class, in order to provide the subordinate class with access to methods on the user interface object. The correct solution is to raise events in the subordinate class to which the ui object can subscribe. Larry O'Heron ...Show All

  • Visual Studio Express Editions Unexpected end of file problem

    Im reading a tutorial at cplusplus.com and Ive got this code: #include <iostream> using namespace std; int main() { cout << "Hello world!"; return 0; } And so I go to build and then build solution because im pretty sure thats what you have to do before compiling and I got this: ------ Build started: Project: example2, Configuration: Debug Win32 ------ Compiling... example2.cpp .\example2.cpp(8) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source Build log was saved at "file://c:\Documents and Settings\Zach Williamson\My Documents\Visual Studio 2005\Projects\example2\example2\Debug\BuildLog.htm" ex ...Show All

  • Visual Studio Tools for Office Show the savdialog after DocumentBeforeSave

    Hello In my application I catch the DocumentBeforeSave event displaying a dialog box giving the user 3 options: "save in a external archiving system" - "save on disk" - "cancel". If the user presses the "save on disk" I display the saveDialog. I hav two questions regarding this: 1: The first dialog box is still visible even though I close it in my code. 2: The saveDialog works fine - it seems... But no documents are saved. I guess this has to do with the parameter Cancel = true in the DocumentBeforeSave event - how can I fix this neoret Sorry - When I set the visible = false it hid the dialogbox I wanted to, but it also minimized word.... The only thi ...Show All

  • Software Development for Windows Vista Detect Vista 64-bit

    Hi all, I saw this sample code on how to detect Windows Vista & Longhorn on MSDN website but it doesn't show how to distinguish 32-bit and 64-bit versions. When I tried to get the processor architecture data on Intel Xeon system that has 32-bit Vista installed, the result I got back is PROCESSOR_ARCHITECTURE_AMD64, which is not correct. Could you help The sample codes on MSDN: if ( osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 0 ) { if( osvi.wProductType == VER_NT_WORKSTATION ) printf ("Microsoft Windows Vista "); else printf ("Windows Server \"Longhorn\" " ); } Thanks! Hello JonnyDeep . ...Show All

  • Software Development for Windows Vista Multi-step workflow with WebserviceInputActivity failed

    Is there any sample available where WebserviceInputActivity is not the first activity in the workflow. With the simple 2-step workflow WebserviceInputActivity/WebserviceOutputActivity there is no problem. Even though I've added the SQLPersistenceService to a 3-step workflow (CodeActivity / WebserviceInputActivity / WebserviceOutputActivity): the instance failed at the following statements: Dim ws As localhost.WSTestWorkflow_WebService ws = New localhost.WSTestWorkflow_WebService ws.CookieContainer = New CookieContainer() ws.CookieContainer.Add(New Cookie("WF_WorkflowInstanceId", _ Session("workflowInstanceId").ToString, "/", "localhost:1423")) ==> res ...Show All

  • Visual C++ How to get rid of a console window appearing with my .NET win app

    I have a solution that contains a number of projects both managed and native C++. The EXE startup project is a .NET app though. For ages now I've been getting a console window coming up as well as the main window when the project starts up. That was fine during development because I could output debug info to it etc. But now its coming close to the release date and I need to get rid of it. I didn't do anything earlier because in my naivity I thought that all I had to do was to set the subsystem linker property to /SUBSYSTEM:WINDOWS Unfortunately that seems to put the app back into native mode. Actually thats not completely true. Everything still compiles ok but when linking it complains that I don't have the WinMain() function, and the nat ...Show All

  • SQL Server Select GetDate() Just the month or year

    I wonder if someone can help me with getting JUST the month and year from SQL DB. Using the Select Getdate() Statement. If I need to use another one that would work that would be appretiated as well. Thanks! Arnie Rowland wrote: Waldrop wrote: select year(getdate()) % 100 Careful with this one -it will drop the leading zero and return only That was odd -just put 6 in square brackets...(No negativity meant! -LOL) ...Show All

©2008 Software Development Network