Software Development Network Logo
  • Visual C#
  • Visual Basic
  • Visual C++
  • .NET Development
  • Architecture
  • Smart Device
  • SQL Server
  • Visual FoxPro
  • Windows Vista
  • Microsoft ISV
  • Windows Live
  • Windows Forms
  • Visual J#
  • Game Technologies
  • Visual Studio

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

moimoiiomiom

Member List

Donald Fisher
D Dharam
rainvt
Kev at PwC
Phoenix71
Jeff Hosley
Deayts
Alan-CIT
Paddy Mullaney
Hazem elrefai
nofski
Hrishikesh Biniwale
DaveOnSEN
lax4u
LegolasXVI
bidbad
Junkie List
Brazzle
pcprof
WinXP_Powered
Only Title

moimoiiomiom's Q&A profile

  • Visual Studio 2008 (Pre-release) How can I determine the remote IP in WCF Service?

    I understand that the title is fundamentally flawed -- the binding used might not have the concept of an IP. But, assuming I'm using HTTP or TCP bindings, how can I access the remote IP and similar data I looked into OperationContext, and it seemed to have a lot of interesting things, but I couldn't figure out what exactly to look for. It seems that the message headers aren't exactly useful (like OutgoingMessageHeaders.To)  -- they always return an http://...Anonymous Uri. The scenario I'm trying to enable is record the IP addresses that our clients use to make requests to our webservices. Thanks! Funn ...Show All

  • Visual Studio Team System Recreating Team Project SharePoint portal for existing Team Project

    Here's the problem: We erroneously installed SharePoint Services with the MSDE database in Beta3 Refresh and have recently upgraded to RTM. Our old Team Project moved over fine but now that we have SharePoint Services installed correctly (i.e. no MSDE database with the SharePoint databases stored in Yukon) our Team Project portal now doesn't exist. Is there any way we can re-create the SharePoint portal for an existing Team Project We don't care about any of the old portal information...Thanks! Hi Michael, First download the template that the project was created with MsAgile or CMMI. You will need the d ...Show All

  • SQL Server Excel problem

    I am trying to import data from sql server to excel. it creates a new worksheet with name 'mytable' and excel file also has 3 sheets (by default as well). when package is executed, Data gets transferred first time. When I try to execute package again it gives me an error - that Table 'mytable' already exists. To solve this I added another task before it creates the table ('mytable' sheet in excel), where I drop this table with the statement " DROP TABLE 'mytable' " (Connectiontype is EXCEL) it works now, but I need to have this table 'mytable' in the excel, when ever I need to execute the package. Is there any statement like in sql where I c ...Show All

  • Visual C++ VS2003 -> VS2005: peek() does not work.

    Hi guys, Since my boss needs the application run on the 64-bits windows, I try to rebuild the application with VS2005. The code throws an exception when executing peek(), which works well under VS2003. Who have the similar experience Please help me out... Thank you very much! istream& is; // pass in the vaule by calling a function char c = '\t'; while((c != '.')) { c = is.peek(); if (isdigit(c)) { // do something ..... ..... ...... } } Yang wchar_t and relevant API errors win32 platform Kuphryn ...Show All

  • Visual Studio VSS 6 restore

    Greetings all, I am new to VSS and am not sure how to restore a vss archive file. I have archived the vss file and moved it to another PC...I installed the same version of SourceSafe as the original PC, but can't seem to figure out how to restore the project. Suggestions would sure be appreciated. Thank you. Randude VSS n00b Are you using Source Control plug-in other then Source Safe To switch back to Source Safe try registering ssscc.dll from you SourceSafe install folder regsvr32.exe "C:\Program Files\Microsoft Visual SourceSafe\ssscc.DLL"   It seems that your source control plug-in is in the disconnected state. To g ...Show All

  • Visual C# datarow edit

    I would like to edit a row in a dataset but not sure why do not get the .BeginEdit in the intellisense. This is what I have already: DataRow row = oDS._TRCLNT01.Rows[rowNum]; row. Thanks The DataRow class does contain a BegintEdit method. So it should be visable in the intellisense. The method does exists in .NET Framework 1.x and 2.0. ...Show All

  • Windows Forms DataGridViewCell - ForeColor based on cell value

    Hi, I have an unbound DataGridView and I need cells that contain double values to change their ForeColor based on a specific value in the cell. So, naturally, I'm inheriting my own cell from DataGridViewCell, add a couple properties and override GetFormattedValue. So, whenever GetFormattedValue is called, I check the value and give appropriate ForeColor. This works fine, except when I want to use a custom DefaultCellStyle.Format for my own DataGridViewColumns. This format is lost when I override GetFormattedValue, because for some reason, GetFormattedValue only works when I return a string (Why is that When I just return the double object, ...Show All

  • Visual Studio Team System MS: Please share Setup.vdproj information

    This is a plea to MS to share some notes about VS 2005 Setup.vdproj files. There is a long documented problem, with "Unable to update the dependencies". The "Hierarchy" section of this file corrupts when advancing version numbers, and setup projects must be deleted and remade from scratch often. I have made a tool which remakes this section by walking dependencies using reflection, but I see this morning that one large complex setup project is not quite right. I feel with a few hints about the "Hierarchy" section I could complete this and get back on the track to productivity. Sharing a few technical de ...Show All

  • Visual Basic vb older version -obtaining?

    how do I install an older version of vb currently have an insurance program that is not working because it is telling me that the vb control is not correct. best i can tell is that i need an older version of vb and it appears that i do not have any version of vb installed on my computer. operating system windows 2000 server version. for framework installs see: http://msdn.microsoft.com/downloads/ for Vb6 runtime see: http://www.microsoft.com/downloads/details.aspx FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c&DisplayLang=en for other previous runtimes and downloads see: http://www.microso ...Show All

  • Visual C# Array.CreateInstance bug

    Richard - i certainly agree with your first sentence, but I dont understand the second. What do you mean, "change e to an Array" I checked the IL code but, not being well-versed in it, i have to admit i dont understand what it is telling me either. The arrays that i see in the IL are float64[..,..] ...Show All

  • SQL Server Unable to use MS SQL 2000 SA Password

    Dear All! I have installed my sa password "sa" during my MSDE (desktop engine of sql) installation. currently i am loging into query analyzer using windows authentication. But i cant access the database through my code, coz i dont have sa access. Please kindly Help me finding my current sa password. Thank You! Did you get an answer I am having the same problem. Thanks. Oguchi ...Show All

  • Windows Forms how to set timeout for a thread

    Hi, How canI set timeout for a thread, so that if it hangs for sometime the thread times out automatically and does'nt get hung forever. Thats my thread private System.Threading.Thread tPollMcastThread; tPollMcastThread = new System.Threading.Thread( new ThreadStart( this .DoMulticastTest)); tPollMcastThread.Start(); That's the poor man's method to do it :D That is the method I usually end up using because some times the threads get stuck and the only way to ensure that they will always get unstuck 100% of the time is tohave somebody that monitors them periodically. I often times have to use ...Show All

  • Windows Forms problem with disposing the parents

    i m having a parent form, though the MDIcontainer property is not been set to true, i am instantiating a form and showing it by form1.show. now i wnat to dispose the first form who instantiated it. how can i ...Show All

  • Windows Forms Make DataGrid columns look like DataGridView columns?

    DataGridView seems to be much much slower than DataGrid; however it is alsomuch prettier. Could anyone tell this VB. net newbie a way to set up the Column headers in DataGrid to behave and look like Datagridview   Ie XP style buttons which are moveable. Thanks Check out the DataGrid FAQ at SyncFusion. You basically have to redraw the DataGrid. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx -mark Program Manager Microsoft This post is provided "as-is" ...Show All

  • Audio and Video Development Microsoft HD DVD Interactivity Jumpstart is available...

    We are pleased to announce that we have posted an early Beta version of the Microsoft HD DVD Interactivity Jumpstart. You can download it here: http://www.microsoft.com/downloads/details.aspx FamilyID=994accae-1591-4cc0-9d5b-03b0494686a4&displaylang=en This Beta software contains: iHDSim, a simulator that you can use to run iHD code samples HDDVDValidator, a command-line utility that can help find many common errors in iHD markup and script Some other small utilities Documentation We hope this Jumpstart is helpful! I must, of course, add a disclaimer: Please note that thi ...Show All

©2008 Software Development Network