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

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

alan666

Member List

Lunatic_Magnet
Agent00
Binairy
WMichael
RPKJBP
Yogesh Ranade
Vaish
eugenz
Rooster A.
RCS300
guilhermecvm94558
Luke Yang
Kamel Balquis
vichnaiev
cka11
Mathew1972
sabmni745
Supersonic
masta
Rubal Jain
Only Title

alan666's Q&A profile

  • Visual Studio Team System Not getting Fulltext Indexes to work

    Did anyone encounter these errors before c:\Projekte\Build\WZ.Hermes\HermesDB-LIVE\Sources\WZ.Hermes.DB.Schema\Schema Objects\Stored Procedures\Maintenance.sp_Maintenance_SetDateExipres_KonkursAufhebungRechtskraeftig.proc.sql(16,1): Build error TSD4001: [Procedure] Maintenance.sp_Maintenance_SetDateExipres_KonkursAufhebungRechtskraeftig: Cannot use a CONTAINS or FREETEXT predicate on table or indexed view 'announcementdata' because it is not full-text indexed. (SQL error = 7601) c:\Projekte\Build\WZ.Hermes\HermesDB-LIVE\Sources\WZ.Hermes.DB.Schema\Schema Objects\Stored Procedures\Maintenance.sp_Maintenance_SetDateExpires_KonkursMangelsAbgewiesen.proc.sql(16,1): Build error TSD4001: [Procedure] Maintenance.sp_Maintenance_SetDateEx ...Show All

  • Windows Forms dataGridView issue

    i am using c#.net 2005. on my form, i have a databound dataGridView component for displaying patient list, the first column is "patient_id". when i click on a button, i want to find out the patient_id of selected row. please help I tried this line, it returns different values when i click on cells from different columns: MessageBox .Show( this .clientsDataGridView.CurrentCell.OwningColumn.Name); however, the values are still something like "dataGridViewColumn1", "dataGridViewColumn2", "dataGridViewColumn3", but not the actual column names. is this because the dataGridView is databound, so that it doesn't contain any actual column names locally ...Show All

  • .NET Development Setting/getting encoding property

    Is there any way to get/set the 'encoding' property of a DOMDocument With .NET the System.Xml.XmlDocument does not have a property named encoding (or Encoding). In general for the in memory DOM document encoding does not matter as the DOM simply exposes anything (element names, attribute names, text content) as an Unicode string (i.e. a sequence of Unicode characters). What should the encoding be if you build the whole document in memory with e.g. CreateElement/AppendChild With the .NET DOM model the XML declaration is modelled as a node of type XmlDeclaration and that node has a property named Encoding you could check e.g. XmlDocument xmlDocument = new XmlDocument(); xmlDocument.Load(@&q ...Show All

  • Visual C# How to use LPBYTE in RegEnumValue registry function - win32 api programming

    HKEY hTestKey; long res; LPTSTR vn[255]; DWORD vl=255; LPBYTE data[255]; DWORD dl; long i=0; res=RegOpenKeyEx( HKEY_CURRENT_USER,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",0,KEY_READ,&hTestKey); if(res) { msgb("nof found");return; } while(res!=ERROR_NO_MORE_ITEMS) { res=RegEnumValue(hTestKey,i,(LPTSTR)vn,&vl,NULL,NULL,data,&dl); data[dl]=0; i++; msgb((LPTSTR)vn); // msgb((char *)data); } RegCloseKey(hTestKey); when the variable data is provided the return values are not proper. when it is given null the function giving the proper result. i want to know how to make use of LPBYTE . argument number 7 for ...Show All

  • Visual C# Wrapping C++ dll

    Hi there! I'm very very new to C#, but I fell in love with it after the first minutes. My problem is, that I have to use some unmanaged c++ dlls. I couldn't find a good how-to about wrapping such dlls. I managed to wrap some classes by inspecting wrappers I found on the net. My problem is that I don't know how to handle something like this: class fooA { ... }; class fooB { const fooA *m_a; const char *m_name; void *m_userData; void setName(const char *name); void setData(void *data); ... ... }; I've collected most of the problems I had and assembled them in that example class. I hope that somebody can help me how to deal with such things or give me an advice about a good "tutorial" or paper. Thanks in advance &a ...Show All

  • Gadgets DOM and select object

    hi everybody, I have a lot of difficulties with the select option, to write all the option features in the drop-down list. In standart html, it works well : http://albidochon.free.fr/jeu3/test.html but can't resolve the dom code in js, it shows the select drop-down list, but it is empty. i found a lot of code to do this, but not in the dom way, and nothing in the msdn documentation. the problem seems to be in the js function : function tri(){ for (i=0; i< jeu(0).options.length; i++) fill and write the options fields......i miss this } I don't want to do iframe gadget or js innerhtml, so, so.... The js and css files are here http://albidochon.free.fr/jeu3/gadget.xml thank you for the he ...Show All

  • SQL Server I need identity on updatable partitioned view

    Ok, already read that is not allowed to have identity column in any member table of a updateable partitioned view. But I need an identity column. Is there any other way or ide how to solve this problem Ok Regis, I'm starting to get a better idea about your situation. I think that if you do not have a primary key for the data, and that if you need to create a surrogate key, and since IDENTITY is not available in this situation, you may have to create a 'Table of Numbers' and get/increment the new value before each INSERT. One option would be having a Staging table, where the IDENTITY column does exist, and then immediately (after the IDENTITY value is assigned) move the data to your partitioned table ...Show All

  • Windows Forms DataBinding , wrong values

    Hi! I make DataBindings in my app and don't work good, binding controls show erroneous values. I have two DataTables, PersonsDataTable with columns{"ID","NAME","LNAME","PHONE","LANG_ID"} , and LangsDataTable with columns {"ID", "LANG"}. I'm trying that when i change the value in cmb_Combo, all controls changes to the its respective new value, but altought all controls changes its values ... ALL VALUES ARE WRONG !! I don't why, and i don't know where obtain this values, but point to an erroneous register .... i'm desperated, because i thought that was a correct values, and today, by chance, i test the values with the SQLServer ... surprise! Please help. I stoped the code to see the DataTables content and is correct. ...Show All

  • .NET Development colon

    Hi gurus I am new to c# or dot net i am having n xi interface which sends a soap msg to the webservice ( genrated by dot net ) . this soap message has a "ab1:" which is not accepted by the webservice and the receiption is failed . i would like to eliminate the "ab1:" from the soapmessage "ab1:acknowledgementsbase x mlns:ab1 = " urn:xxxxx.com/xi/utils.acknowledgements" Please advice on this its a burning issue right in my company thanks /// <remarks/> [System.Web.Services.Protocols. SoapHeaderAttribute ( "AcknowledgementMessageValue" )] [System.Web.Services. WebMethodAttribute ()] [System.Web.Services.Protocols. SoapDocumentMet ...Show All

  • Visual Studio 2008 (Pre-release) Newbie: WCF without Admin rights

    Hi, Sorry if this is such an obvious thing (I've had a search on the internet but honestly can't find the answer). I want to build a simple WCF webservice for desktop applications to use. However, when I run my client app on Vista with non-admin users I get a message saying that my App is not responding. However, the same application runs great on XP. I then logged in as admin and modified some settings (adding a url acl) and the client application works okay. So my question is, can I write a WCF webservice which does not require you to be admin (and doesn't require an admin to previously set permissions) for my app to work If so, can anyone give me a code sample Thanks! As far as I know (but ...Show All

  • Visual Basic Saved and used again?

    How do i do this I want to play the file selected by the user from the list box. Which is saved to My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData. sUserSelected not sure if this is right or not. The way I have it is not working, I've also tried using & instead of + but no luck. Dim sUserSelected as String Player.URL = "C:\" + sUserSelected + "\ThemeTune.mp3" I want to play the file selected by the user from the list box. well, how are the items placed in the listbox do they contain the full path or just the name of the file the syntax you have for the player is correct, I am assuming you are using the WMP SDK What errors do you get when ...Show All

  • .NET Development ReflectionOnlyGetAssemblies and mscorlib.dll

    I'm using ReflectionOnlyLoad to reflect on various system assemblies, including mscorlib. This part works fine - the information I expect is being gathered. However, later I call ReflectionOnlyGetAssemblies and all system assemblies that I examined except for mscorlib are returned. Why isn't mscorlib returned David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter, VB to C++ converter Instant Python: C# to Python converter, VB to Python converter It is currently a limitation of CLR that mscorlib cannot be loaded into the reflection-only context. You can notice that the Assembly object returned by Assembly.ReflectionOnlyLoad("mscorlib") h ...Show All

  • Visual C# How to get caller's thread?

    Is there any official way to get the caller's thread to determine if the current thread is different from the caller's thread Thanks in advance! You can use System.Threading. Thread .CurrentThread.ManagedThreadId to get an Id of the thread. You can then compare the thread ids to see if they are different. Mark. ...Show All

  • Visual Studio Team System table pagination

    I've made a report that includes a table of work items that are in a particular state. The table appears to be 56 rows long, split onto two pages. How do i alter the number of rows on each page It doesn't seem to be constrained my the report's page height, or any thing else i can find. Hi Peter, try the Reporting Services forum as they have the expertise here: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=82&SiteID=1 thanks, mauli ...Show All

  • Visual C++ DLL generated but related import library is missing?

    Hello everyone, I am building a DLL file. But the related import library file .lib is not generated. I am using Visual Studio 2003. What points should I check in order to generate the import library file thanks in advance, George 1. Well, I don't know if it's the only option that has influence, there might be others, but it's definitely the one specifying the output path and file. 2. Yeah, my VC++ IDE generates a command line for the linker that doesn't specify this parameter and apparently that leads to the linker outputting a file with the same name in the same directory, just with different file extension. ...Show All

©2008 Software Development Network