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

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

andret1802

Member List

hmayer
DrSudhaK
Shady9399
EShepley
ceedee
Symon Buck
Nakkeeran R
zhu.zheng
Kiran05
s12
psmNATx
AndrewVos
arvin88
messaoud
Shril Pyrrho
Flame Thrower
Oguz
avfarci
flash.tato
Bartosz
Only Title

andret1802's Q&A profile

  • Visual Studio Tools for Office Access raw binary document

    Hi! We're developing a COM Add-In for Word 2007 and need to access the raw binary document from within the plugin. We tried to read the document using a FileStream using the ActiveDocument.FullName Property. But access to the file is propably locked by the Word Application process. So my question now: is there any possibility to read the full binary document as we couldn't find any property within the Word Document Object Model to get access to it. Thanks for your help guys, Arne Hello Arne - only one more idea now - first copy the file to temp file and then read the Tempfile. Maybe this could work. Hope this helps, greets, Helmut ...Show All

  • Software Development for Windows Vista Invalid schema node '<xs:element>'

    Page 293 of the book "All-In-One MCAD/MCSD Visual Basic .NET Certification" gives the following example for an XML schema: < xml versionfiltered="1.0" encoding="utf- 8" > <xs:schema id="Sample" targetNamespace= " http://tempuri. org/Sample. xsd " elementFormDefault= "qualified" xmlns=" http://tempuri. org/Sample. xsd " xmlns:mstns= " http://tempuri. org/Sample. xsd " xmlns:xs=" http://www.w3. org/2001/ XMLSchema "> <xs:element name="book"> <xs:complexType> <xs:element name="title" type="xs:string" /> <xs:element name="author" type="xs:string" /> <xs:attrib ...Show All

  • Visual Studio 2008 (Pre-release) Display ToolTip for TabItem.Header only?

    Does anyone know how to display a ToolTip for the Header of a TabItem without having the ToolTip appear for the entire TabItem.Content Example XAML: <TabControl x:Name="contentTabs"> <TabItem x:Name="tab1" ToolTip="Home Page"> <TabItem.Header> <TextBlock>Home Page</TextBlock> </TabItem.Header> <Frame x:Name="contentFrame" /> </TabItem> <TabItem x:Name="newTab" ToolTip="New Tab (Ctrl+T)" Width="20" /> </TabControl> Why not simply settinng the ToolTip property on whatever element is in your TabItem.Header property It only supports one child so that child could h ...Show All

  • .NET Development Getting processes by window caption

    I just want to know how to find instances of programs with a certain window caption, something similar to the system.diagnostics.process.getprocessesbyname command except to find processes by their window caption instead of process name. How would this be done GetActiveWindow() returns the active window for your process. Since the user is probably working in a window of another process, GetActiveWindow() will return NULL. GetForegroundWindow() might work better... ...Show All

  • SQL Server Return value for "NOT EXISTS"

    Hi I frequently use the "If NOT EXISTS (Select ...) Insert ..." statement and would like to display a message to the user after the execution of the statement to say whether the Insert was or wasn't executed. Is there a way to get SQL to return a value that will tell me if the Insert was carried out or not If not, perhaps you know of some other efficient way of handling this situation. Regards Neil Thanks for you reply, I have it working in SQL Server Management Studio but can you please show me how to extract the returned value from a recordset. Regards Neil ...Show All

  • Software Development for Windows Vista The UAC Nightmare

    I'm beginning to reach the conclusion that the current implementation of the UAC in Vista is, IMO, a nightmare that creates more problems than it solves. If Microsoft wants developers - and users - to embrace the UAC (instead of just turning it off altogether) then it better come forward with a LOT MORE information and support than it is currently providing! If it doesn't, I will begin to suspect Microsoft only added the UAC so it can tell Windows users 'well, we added the option to secure Windows - you're the ones turning it off' and therefore wash its corporate hands. I would really hate to see this happening. To name just a few of the problems the UAC brings to us developers: 1 - Applications that require Admin privileges are bloc ...Show All

  • SQL Server Group Heading text different on repeated headers

    Is there any way to have the data displayed in a group header different on the first occurrence of the header from subsequent occurrences within that same group I have the Repeat Header option checked, so the header appears on every page. I want the pages where it is a continuation (has been repeated because the option is on) to look different, e.g., the group's name cell should be "<name> (cont.)", where on the first page it appears it should be just "<name>". I can use an expression in a cell in the header, but I don't see any convenient function or other way to detect whether this is the first, or a subsequent, instance of the header. I thought of using the RowNumber function, scoped to the header g ...Show All

  • Visual Basic Configuring specific compiler warnings

    Hi, I've read on the internet that the vbc.exe compiler can throw warnings when a given line of code is not CLS-Compliant. How do I get this I know there is a "warning IDs" list, but I can't find something about CLS-Compliance checking. Thanks in advance, Alessandro Are you getting a warning from the compiler in your code, and you want to supress the warning, or are you asking when you'd get a non CLS-compliant warning Best regards, Johan Stenberg ...Show All

  • SQL Server Where to use SQLCLR ? Data access is not recommended?

    Just wondering which scenarios is suitable to use SQLCLR. Any kind of data access is not recommended I guess. Only things that cannot be easily done in TSQL should be done in SQLCLR but why Can't those things be done in app layer itself Scenarios recommended for SQL CLR: - External data access like filesystem, registry etc - Complex calculation - Recursion without data access (this can be implemented with CTE for data access) If data access with SQL CLR is not recommended why should CLR should be even used and logic reside in database layer.. it makes no sense to me. Any thoughts Could you show us some examples of T-SQL and the ..NET code you converted it to   I'd be very inte ...Show All

  • Visual Studio Team System Daily wise resource allocation in MS Project

    HI All, I am trying to fetch dailywise allocation of resource. Where do I get no of unit resource assigned on daily. I am using OLEDB.11(MSP 2003) to access values from tables. Assignment table contains only cumulative quantity of resource allocated. But in AssignmentTimephasedByDay , i can see datewise allocation. But I couldnt get unit assigned dailybasis. Please help me Thanks in advance BBN Does your question have anything to do with Team Foundation Server It would appear to me that it does not. I think you need to move this back to the Project forum and explain to them that this is a Project question, not a TFS question. Brian ...Show All

  • Visual Studio Express Editions Textbox

    1-I have some textboxes in my program. Max text length for them is 1 char. Now when I want to enter a number for example 423, I should press 4, tab, 2, tab and 3. Now what should I do to do this without tab button. I mean when I press a number in the first textbox the second number be automatically in the second textbox. 2-I want not to allow entering words (e.g. w) in my textbox. I mean I want to allow users to enter only numbers (e.g. 0) to my textbox. Try an explicit conversion, or receive the first character of textbox1.Text. You can do that because you have already checked that it is 1 character, so retrieving the first character of the textbox would essentially return all of the te ...Show All

  • Visual C# wrap asynchronous calls in synchronous calls

    Hi all, I have a general question on how to hide asynchronous calls from a user: My user invokes a method like this public Customer GetCustomer(int id); This method calls an asynchronous service which has the following method+event public void GetCustomer(int id) public event EventHandler CustomerReceived The event is fired when the GetCustomer call has finished. What I want to do is as follows: I want to pack the asynchronous call into the method which is being called by my users. Can anyone of you give me a hint Regards, David Hi David I test this kind of solution and I this it work OK. private void button1_Click( object sender, EventArgs e) { _async = false ; _customer.GetCu ...Show All

  • SQL Server Bulk Insert remove extra quotes

    I am using Bulk Insert to Import a Tab Delimeted file that contains quotes(") in some of the fields. Example 1: """"This is a just a test.""" Results should be "This is just a test" Example 2: """This is only a test"" and nothing more" Results should be:"This is only a test" and nothing more. Now. If I use DTS Import Wizard process and select "Double Quotes" as the Text Qualifier, I get the result I am expecting. The extra quotes are gone. Question: Is there a way or a switch in Bulk Insert that I could use to get rid of the extra quotes Below is my syntax SET @sql ='BULK INSERT '+ @table_name + ' FROM "' + @c ...Show All

  • Visual Studio Team System Using Functions as Form Post Parameter values?

    I have a number of Form Post Parameters in a webtest that require the current date as a value. ex: ShipDate=04 Jul 2006 Without having to generate code, is there a way that I can use Format(now(), "DD MMM YYYY") as the value you do not need to use a coded web test,but you will need to use a WebTestRequestPlugin. So you will need to write code to get this to work. Here is a help link for how to create request plugins: http://msdn2.microsoft.com/en-us/library/ms182554.aspx ...Show All

  • Software Development for Windows Vista Multi Display support on Vista

    Hi guys Any of you has information or evidence regarding multi display capability of Vista In specific, the following configurations are already supported by WinXP: 1. Two or more displays connected on a single graphics card (MHS) 2. Two or more displays connected on two graphic cards of same vendor/chip 3. Two or more displays connected on two graphic cards of divverent vendors (MDS) I received rumors these support has been dropped in Vista. I cannot believe it but I could not find any evidence they are actually supported. If anybody can confirm this, it would be really appreciated. Thank you Ascanio hy, i've got a nvidia 7950gx2 and an ati ax300 (both pci-x cards), ...Show All

©2008 Software Development Network