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

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

nglow

Member List

Ben Hall (UK)
ray1979
krig
Camac216336
johnb01
Nirupam Pratap Reddy
NeedSomeAnswers
TaYeB
Etienne Meunier
KevinBurton
guiguigui
Rohit Tela
dams
Alan S
Magos294963
please help me
Closer
spelger
Gareth Hunter
DaveRogers
Only Title

nglow's Q&A profile

  • .NET Development typeof an object

    I have some classes. assume UserClass and ArticleClass. I want to pass an object to the method and I want to know this Object belogns to which class. let's tell you in the other way. I want to go through all the attributes of a class in my method. my method now is like this inside each class. but I want to have just one. in UserClass I have: public void Save () { FieldInfo[] fi=typeof(UserClass).GetFields(BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly); ... foreach (FieldInfo f in fi) { ... } } and in ArticleClass I have exactly the same method. just use typeof(ArticleClass) instead of typeof(UserCl ...Show All

  • Visual C# Don't know what type of issue of My Visual Studio 2005 Team suit IDE

    I got a problem of my IDE. If I create a new C# website project using either File System or IIS project, when the solution was created, I opened codebehind file, the IDE produced a lot of erros for the syntax (by default). when I pointed to that error, it's said "'class' statment must end with a match 'end class'", it seems that the IDE use VB syntax to check my C# codebehind file. Does anyone have had this experience before or any solution The Default Language Settings is same as windows xp which is English. Yesterday, I tried to reinstall the windows xp, after that I installed VS.NET 2005 immediately, the problem came back. I finally uninstalled the vs.net 2005 sp1 beta, then everything was working fine. what stupid I've ...Show All

  • Windows Live Developer Forums does on onendcontinuouspan fire twice?

    Hi, I'm running VE from within a webbrowser control inside a .net app. Im working from a sample that used v2 of the mapcontrol and am trying to get it working with version 3 (or ideally 4). Inside the webpage javascript I have hosted in my webbrowser code I attach an event to the map: map.AttachEvent( "onendcontinuouspan" , update_map_position); function update_map_position(e) { alert(e.view.latlong.latitude); window.external.mapPositionChange(e.view.latlong.latitude, e.view.latlong.longitude, e.view.zoomLevel); } This causes some code in my .NET project to execute. The problem Im having is this event seems to be firing twice (I get two alert boxes). The first time it fires I get the correct lat and lo ...Show All

  • Visual Studio Express Editions HOW TO: Listview Control (Listindex)

    I have a simple application that display the current log record of an employee who logs into the system. Everytime the employee tap her/his ID card on to the barcode reader, his/her current log record will appear into the listview control, I am using Visual Basic Express 2005. The problem is I am new to this language, and I really don't know code on the how to focus the last item entered into the listview control like what I did in visual basic 6 below: List1.AddItem "MyName" List1.ListIndex = List1.NewIndex Anybody can show me the simple code on how to do this Thank you very much:) Thanks ramjamman, but the problem is, the listview doesn't scroll automatically to the last re ...Show All

  • Internet Explorer Development Vist or IE7 and Cookies

    I have an application that uses the webbrowser component and when launched goes to a website. Previously I’ve navigated to the web site and set the cookie to remember who I am so I no longer have to log in. However, in my application I am still required to log in. This app worked fine under XP, but not doesn’t appear to work under Vista. Is this due to IE 7 Vista Security issue in both Any help would be appreciated, by me and my wife as I keep kicking her off her machine to run this app :) Thanks Wayne Dave Massy wrote: Can you supply more details to help us reproduce the issue Thanks -Dave On my box I login to site X check the check box that says remember me. Close IE, re-Open it and g ...Show All

  • Windows Forms HyperLink in DataGrid

    Hi I'm using a GridView in VB.Net 2005. One of the column of the GridView is Hyperlink Column. When i click the hyperlink i want some message to be displayed in tne redirected page. The message displays in each link should be different. How can i achieve this Where should i write my coding Thanks Is the ID column a part of the datagridview. If so, you can get the data in the id column like this Me.DataGridView1.Rows(rowIndex).Cells(idColIndex).Value ...Show All

  • .NET Development Object Already Exists error when trying to sign an assembly using a pfx file

    Hi, I'm trying to sign my assemblies using a pfx file. This was working fine, until I changed the file I used to sign it (I used to sign it using xxxx.pfx, and now I'm signing it using another xxxx.pfx, so the name is the same but the file itself is different). When I point to the new file on the signing tab and build my solution, I am prompted for the pfx password. When I type in the pwd and confirm, I get the error message "Error Importing Key" "Object already exists". For me, it is not clear what is going on. Could someone clarify what I should do to avoid this problem. I already tried to apply the workaround suggested here http://www.pcreview.co.uk/forums/thread-1325523.php , but to no avail. ...Show All

  • Visual Studio Sandcastle Help File Builder 1.2.0.0 Available

    The latest update to the Sandcastle Help File Builder is available at http://www.codeproject.com/useritems/SandcastleBuilder.asp v1.2.0.0 - Changes made in this release: A new Prj Summary button appears on the main form in the Assemblies to Document section. It opens a form in which you can enter summary comments that should appear in the root namespaces page of the compiled help file. A new Namespaces button appears on the main form that allows you to specify which assemblies should appear in the help file and the namespace summaries to display in the root namespaces page and on the help page for each namespace. By default, all namespaces in all assemblies are documented with the exception of the global (unnamed) namespace tha ...Show All

  • SQL Server Can't connect to Express Edition

    I have a huge connectivity issue that I can't seem to solve. We're using SQL Express Edition as a local data store that is participating as a subscriber to SQL Server Enterprise Edition. Perfectly valid and supported. Now the issue. I have the Express Edition on one machine connected just fine, but the other one absolutely refuses. Here is what I did for the one that connected correctly: 1. Enable remote connections for the Express Edition instance and restart the instance 2. Added the SQL Agent service account on the server to the SQLServer2005MSSQLUser$machine$SQLEXPRESS group on the local machine (yes, I want it to have that level of authority) 3. Connected to the machine with Express Edition to the network via VPN. 4. ...Show All

  • .NET Development Parse response from web service

    I've created a web app that connects to a web service which returns a stock quote. It returns xml in the form of a string as follows: <string> <StockQuotes><Stock><Symbol>HAN</Symbol><Last>61.27</Last><Date>8/10/2006</Date> <Time>12:03pm</Time><Change>-0.65</Change><Open>61.60</Open><High>61.75</High> <Low>61.25</Low><Volume>4900</Volume><MktCap>8.784B</MktCap><PreviousClose>61.92</PreviousClose> <PercentageChange>-1.05%</PercentageChange><AnnRange>46.30 - 69.74</AnnRange><Earns>6.50</Earns><P-E>9.53</P-E><Name>HANSON PLC (HLDG </ ...Show All

  • Architecture Data Modelling Tool in Visual Studio 2005

    Is there any data modelling tool / feature available in Visual Studio 2005 Hi Amit, There are no DB modeling tools available in VS 2005 however you can connect to DB from VS and create tables etc. If you are looking for tool support like Erwin or PowerDesigner the closest thing Microsoft has is Visio for Enterprise Architects where you can use the Entity Relationship model (ER) and Object Role Modeling (ORM). Visio for Enterprise Architects is included in MSDN Premium, which is available with Visual Studio Professional and Visual Studio Team System role-based editions. Sandor ...Show All

  • Visual Basic controlling placement of ToolStripComboBox

    Hi I'm adding a toolStripComboBox to my main menu - all works well, except I want to control where it is placed At the moment it is to the right of the last menu item - I want it to be to the left of this one, not to the right. How do I do this Thanks Bruce Ahh, I've gotcha now... in your adding of your object(s) you've probably using Items.Add() to add the item at runtime... as you've found, this just tacks them onto the end without any kind of control over where they end up. When you do care about where they go, try using Items.Insert() where the first argument is the index of where you would like the item (the second argument) is to be put. Does this work better for you ...Show All

  • Software Development for Windows Vista Vista Explorer-like window using C++

    I don't get an idea - how can one create something similar to the explorer window, I mean the following things: transparent area at the top of the window; back/forward navigation buttons and breadcrumb and search controls in this area. I know this can be created using WPF, but want just do it using WinAPI / MFC / something like that in C++. Thank you for the hint. Starting from you link, I have found a more advanced article at: http://weblogs.asp.net/kennykerr/archive/2006/08/10/Windows-Vista-for-Developers-_1320_-Part-3-_1320_-The-Desktop-Window-Manager.aspx ...Show All

  • .NET Development VC++ Manifest abnd DLL exports table problem

    hi , I wrote a simple VC++ dll in VC++ VS2005 and compiled to x64 version. When i do a dumpbin /exports on the release version of dll . Its giving an error : canno seek file at 0x68200. with dependency walker it gives error invalid manifest data. The debug version is showing correct exported functions . This happens  with manifest generation and embedding enabled. When i disable manifest generation , The exports table is fine and there is no error in the release version. Ok , Now the dll is fine and runs on the 64 bit pc, But without VC++ manifest. Is this a bug in VC++ 2005 , when manifest is turned on , it corrupts the dll exports table. or am i missing some in the compilation. thanks vinothkumar ...Show All

  • Visual C# How to truncate a value (2 decimal digits)

    Please I need a help. I cant find a function in .net 2.0 to truncate a value to n decimal digits. That must work as shown below: decimal myValue = 25.5698; decimal MyTruncatedValue = TruncateFunction (myValue, 2); // Now myValue holds the value 25.56 decimal MyTruncatedValue = TruncateFunction (myValue, 3); // Now myValue holds the value 25.569 // Notice I am not rounding at any time....but rather cutting off that part of the number that is not interesting... Hello All. Raulsassaa: Are you trying to truncate the value to a certain number of signifcant digits, or truncate the decimal places for displaying in a string I'm going to assume that it's the first case, since your example function returns a decimal. ...Show All

©2008 Software Development Network