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

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

susantez

Member List

UnKnown Nick
QingLin
Bartosz
OriginalBigDan
jhidey
Synced23
VBAP
UsmanTahir
MLyons10
coolcoder
Scott McKeown
Attila Fogel
Tigerwood2006
edukulla
Arjun B
johnstonb
Vypur
nickwilliams
Cammyr
HairyDan
Only Title

susantez's Q&A profile

  • Smart Device Development Is way to Override the Disabled appearance of ListView Control

    Hi all, is it possible for me to override the appearance of the ListView Control when its enabled property is set to False (disabled) I guess I need to change the colour as when the ListView Control is disabled, its very hard to actually see what value is selected if there are only two entries in the ListView. Thanks I do not even want to select an item from the disabled ListView. What I am asking to see if I can override the backcolour of the ListView when it is in the Disabled state because at the moment in my application when the control is disable and there are two items in the ListView (one of which is selected) and its disabled (I select an item in the ListView then disable it) it is very hard to actually see what the selected ...Show All

  • SQL Server Advanced SQL Generation Options in VS2005

    Hi There im not sure if im in the right place but i was wondering why the above option is greyed out when creating a new sql datasource. This occurs even when i select all fields within the table (including primary key fields) Thanks Todd limonada wrote: One thing I noticed is that the option is grayed out if the table used in the select statement has no primary key, which makes sense, since UPDATE and DELETE operations on a table without a primary key are very specific to the logic behing the table and cannot be generated automatically. This is what I found as well and it's worth mentioning again as I spent ages before realising what I was doing wrong. It is not enough to just have a primary ...Show All

  • .NET Development calling managed code from c /win32 dll

    hi, i have a dll wrote in visual c 6, and i have to receive inside this dll data coming from some managed assembly wrote in c#. i cannot upgrade to visual c++.net and make too man changes to the c code, because i have several header shared with a firmware, so i would like to expose some methods from managed assemblies and call as normal dll functions. is this possible to this or i have to create another dll with com support, so i can user standard interop to use the managed classes and wrap them and use this dll from my c dll best regards, Luca Morelli the problem is I need to call this code from an old c/sdk dll that has no support for com, and i cannot make to make too much chan ...Show All

  • SQL Server OpenQuery() to Linked Server hangs, leaving SPID with open tran, then templog.ldf grows without limit.

    Hi, We have a customer that is using SQL Server 2000, and experiencing the following intermittent problem -- occasionally templog.ldf will grow and grow until it fills the entire disk. This is a rare problem, it has happened less than 10 times in the past two years, for a job that runs once a minute. But it has happened on 3 different SQL Servers, (two production servers, and one test server). Our suspicion is that the root cause is an OPENQUERY() to pull data from a linked server (Oracle database on Unix). We have seen that these OPENQUERY() statements occasionally hang and cannot be killed. The OPENQUERY() is used to populate a local table, and when we originally populated permanent tables with OPENQUERY(), then there would be a ...Show All

  • Visual C++ about perl or C

    hello friends, i have learnt C & have done it intensely for 2 months. still i think that all the ins & outs of the language is not known to me. the courses we do here are just the commands we use regularly. i am not at all satisfied with my learning of the language. so kindly refer me or help me understand the ins & outs of the languages like C or perl. free links may help a lot. plz help me. Do you have a specific question It is difficult to think about specific things to say. It depends a lot on what you need to do. Is there a library you can go to for a book Can you buy a book ...Show All

  • Visual Studio Tools for Office Intermittent HRESULT: 0x800A03EC setting value in a cell

    Hi, I get this error intermittently (here's the error, stack trace and code): Exception from HRESULT: 0x800A03EC Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Office.Interop.Excel._Worksheet.get_Range(Object Cell1, Object Cell2) at Microsoft.Office.Tools.Excel.Worksheet._RangeType.get_Item(Object Cell1, Object Cell2) at TrancheGuide.InputsSheet.printMessage(String msg) in C:\Code\C#_Apps\TrancheGuide\TrancheGuide\InputsSheet.cs:line 79 at TrancheGuide.IntexDriver.driverEngine(String cusip) in C:\Code\C#_Apps\TrancheGuide\Tran ...Show All

  • Visual C# I use module in VB what i can use in C#

    When i program in VB i use module to use variables and the same function in all project... in this way don't change their values... but in C#, how can i do it (Sorry, if my english is bad... I'm form Brazil) A VB module is (nearly) equivalent to a static sealed class. 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 ...Show All

  • Visual C++ How do you create a pointer to class funcitons (not members)?

    Hey, I was jsut wondering, how do you create a pointer to a function that is a member of a class Note that I don't want to make a pointer to member, I just want to be able to do something like this: class ClassA { public: void SayHello() { MessageBox(0, "Hello", "", 0); } }; int main() { ClassA a; void (*ptr)() = a.SayHello; // this would be how i would suspect it to be done ptr(); } How do I acomplish this Glad to help. Note the original poster gave in that thread didn't follow directions and his code sample wasn't what I suggested. Use SetWindowLong within the WM_CREATE handler using the CREATESTRUCT information, rather than waiting for CreateWindow to return with the window handl ...Show All

  • .NET Development Can I open an Access database from vb .net if the mdb file is opened.

    if I try to use the following connectstring "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\cse1\src\test.mdb;Mode=Share Deny None;User Id=admin;Password=;" I get the following error "The Microsoft Jet database engine cannot open the file 'test.mdb'. It is already opened exclusively by another user, or you need permission to view its data." I was assuming that mode-Share Deny None would open the database in read-only mode, since I have to just display data and not do any updates. thanks. Yes you can open/read/write to an acces db when it is opened by another user (access is a multiuser DB),  However you can NOT when it is opened exclusively by another user...you may also want to make sure tha ...Show All

  • SQL Server Unable to set Identity_Insert Off?

    Hi i am unable to set Identity_insert off in sql server compact Can you please tell me if sqlce supports or not If it does not support what is the work around that can be done Please tell the workaround in detail i mean altering table for identity key e.g. Because i have seen some posts that talk about alter table but i am unable to understand how that can done Thanks I discuss this issue in my EBook and I came to the conclusion that until Microsoft beefs up the Identity tools (as you discovered), it makes more sense to use my own ID generation routine or GUIDS. Consider that the database is single user. This means there is not a chance that another user will collide with some of the more rudimen ...Show All

  • SQL Server BI Portal connected to analysis services 2005

    Anyone has connected the bi portal with analisys services 2005 I have a security problem. Thanks Sorry, I don't know. I cannot enter a connection string directly into the advanced box, but if I connect first, or if I click Advanced and then browse and select a .oqy file, I can then edit the connection string. I have not used BI Portal extensively, maybe you have an issue with your installation. The main reason I suggested that you try a simpler connection string was the the sample you provided had the Initial Catalog setting listed twice and you had a User Id and no Password set, even though User Id only works with HTTP connections. You could try creating an OWC page outside of BI Portal just to test the the OWC co ...Show All

  • Gadgets onSettingsClosing, onFocus and other events...

    I have a problem (with one solution), where the following happens... Ok desired chain on events: Gadget displays some text based on XML Settings window opened Settings changed Settings window closed Gadget displays some different text based on different XML What's happening: Gadget displays some text based on XML Settings window opened Settings changed Settings window closed Gadget displays same text... A quick test drop out of the onSettingsClosing event to set the text in the gadget to a "Hello World" value, causes an error and the settings window won't shut. So I'm guessing that the element in the gadget I'm trying to set isn't available yet, as we're still in the settings window ...Show All

  • SQL Server Windows authentication

    I've got an application that's supposed to use a combination of Windows authentication and Custom authorization, here's how. Only the administrator can add users, venues, and booking types. In addition, only the administrator can reset a booking password on the bookings table and/or form. I (as the current administrator) want to be able to add a user and grant him/her permissions (either as admin or just user). Admin access : add new users, venues, booking types, and reset booking password which will be used to grant permission to change booking details such as time and date. When the administrator adds a new user, there's an option (a field called admin on the user table) on whether or not to give the user admin rights, if yes ...Show All

  • SQL Server SQL Server Setup Fails

    I just upgraded ACT database and it needs SQL Server. I just keep getting "SQL Server Setup Failed". I downloaded SQL from Microsoft, went to install and get the same error. It then refers to a summary txt log which I have had a look at but to be quite honest means nothing to me. I only want to be able to use ACT!! Anyone help PLEASE!! What version of SQL are you trying to install SQL Server 2000 or 2005 And what edition MSDE, Express, Evaluation, etc What error are you getting Can you search your install logs for the text string "value 3" and post the 10 or so lines above it Thanks, Sam Lester (MSFT) ...Show All

  • Visual Basic filling a bitvector32 in a loop

    Dear all, I can fill a bitvector32 like this: Dim InBytes As Int32 dim i for i = 1 to 1000000 InBytes = i 'for example Dim InBitVector As New System.Collections.Specialized.BitVector32(InBytes) next i and then I can read out the individual bits (need this for a graphics conversion). Problem: this gets VERY slow, and I trailed that to the Dim InBitVector statement. Is there ANY way to assign an Int32 number to the InBitVector WITHOUT using the dim statement Thanks, Kees Hi Renee (not a guy, I guess, from the double 'e' ), I am unclear how the bitconvertor.ToInt16 is going to help. I was aware of the bitconvertor and I knew a bit abo ...Show All

©2008 Software Development Network