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

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

yaf23

Member List

howe356
dknapp
Meltdown61
Richard Purchas
Eamonn_Eire
Joe A
Juliau
AJMILLS
SarasMax
bobsuruncle
RGB
JenJH
usazlin
Comrad78
YanickA
HY
thuang
beastrabbit
bocean
SuperFox
Only Title

yaf23's Q&A profile

  • Visual C++ Problem compiling a program

    Hi all, recently i had to work on a program which was running ok on VC++ 6. Due to certain restrictions i only can work with visual studio 2005 express beta 2. When i tried to compile the program in VS 2005 express beta 2, i got these errors which never occurred in VC++ 6: Compiling... STDAFX.CPP Compiling... Database.cpp DatabaseMarpos.cpp DataCom.CPP DBMarpos.cpp EBlockEntry.cpp EBlockLabel.cpp EdcsSettings.cpp EDCSSetupDialog.cpp extendedEBlock.cpp fileDB.cpp FisApiInterface.cpp c:\hsanew\datacom\fisapiinterface.cpp(400) : warning C4996: 'sscanf' was declared deprecated c:\program files\microsoft visual studio 8\vc\i ...Show All

  • Visual Studio 2008 (Pre-release) WPF and shadows

    Hi, I am interested in generating shadows for several pieces of geometry in my 3D application, and I was wondering if access to the stencil buffer is restricted when using WPF. If this is the case, is there any way (built in or otherwise) of generating shadows at a reasonable speed Thanks in advance. WPF doesn't allow access to the stencil buffer nor does it have shadows in V1, sorry. Shadows have been one of our biggest feature requests. If the shadow is going to be on a plane, you could do something like find the silhouette edges, project them onto the plane, and draw the projection in black. ...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. Did you add a reference to Microsoft Access 11.0 object library I'm trying to do the same thing as you. Currently i'm ...Show All

  • Visual Studio 2008 (Pre-release) XamlWriter customization?

    Is there a way to customize the XAML serialization of a class   I have public properties I do not want serialized (things like the Parent property in WPF classes).  In other cases I would like to serialize a reference to another object and restore that at the other end.  I can have duplicate properties holding the ids and recreate the object references after loading the XAML, but I still need to get the object reference properties excluded from the XAML.  I would really rather not use get/set methods just to deal with serialization.  Ideally there should be some attribute I can place on the properties in question. ...Show All

  • Windows Forms net check before opening the form

    How to check whether internet connnection is available or not before opening a form using vb.net thanks in advance PrasantH Might be nice to drop a link to the KB article.  In general though, you can check WMI to see if there is an active link connection that can be used.  Going out to a site on the Internet for the check& ...Show All

  • Visual Studio Express Editions Problems making ODBC connection

    Trying to create a System DNS Connection in SQL 2005 Express but I am not able to connect. I want to use Access 2003 to enter the data. Could anyone please point me in the right direction. I am not sure if I need to enable anything. I am using Windows authentication. SQL Native Client does not work for me. SQL is installed local Please help. Many thanks, Sten Issue resolved. It had to do with my firewall. Port 1433. Sten ...Show All

  • Visual Studio VS2005 Debugger goes to wrong code

    I am trying to debug a problem in a control I have developed in design mode. To do this, from my control's assembly, I start another instance of the VS2005 IDE with a project which uses my control in design mode. The control is developed in C++ in a mixed mode class. When I try to debug my problem, at the point it is occurring, the code goes off into a completely different routine than what I am calling in the source. When I follow the debugger in disassembly mode, it is actually not even going to the beginning of the wrong routine but about 10 CPU instructions beyond the beginning. It is obvious to me that the code is going to the wrong are ...Show All

  • Visual Studio Problem while executing my Add-In

    Hai.....,     I have build an Add-In for VS.NET IDE. I 'm storing the information required for my Add-in to a file. The method i used to store is as follows; BufferedStream bs = new BufferedStream( new FileStream(fileName, FileMode.Create, FileAccess.Write, FileShare.Write)); BinaryFormatter bf = new BinaryFormatter(); bf.Serialize(bs, hashShortcuts); //<--hashShortcuts here is a Hashtable bs.Close(); bs = null; bf = null;   For the above code to work, the data in the hashtable must be serialized and so one class has the Serializable attribute set to it, which is the one I store in the hashtable. Now ...Show All

  • .NET Development Generic List's AddRange/InsertRange

    Hello, I have a class that inherits from List(Of <custom>); what I want to know, is in this class, I have: public class MyClass    Inherits List(Of MyObject)    public shadows sub Add(item as MyObject)    end sub    public shadows sub Insert(index as Integer, item as MyObject)    end sub End Class What I want to know is, in the AddRange/InsertRange implementation, will these methods call the base Add/Insert methods, or will it call the Add/Insert methods that I created above through shadowing, or doesn't it use these methods at all Thanks. ...Show All

  • SQL Server Is there a way around using MAX Statement on Report

    I have a report that due to being unable to find a successful solution across the web relies on me using a value in a box as shown below; =MAX(Fields!budgeted_net_rent.Value) The problem I now have is that I have another field on the report and want to a =SUM on it and it tells me that you can't do that unless it is a header or footer and something about being part of an aggregate function. How can I fool SSRS into placing the value for this field into a sperate box so that I can complete the calculation I need to do. This report uses various drill throughs etc. If it is relevent, the value that I want to perform the calculat ...Show All

  • SQL Server Subscriptions- How to enable?

    Hy, I'm doing a project, in Sql Reporting Services, and i need to create email subscription.In Sql Server Management Studio, when i right-click the folder subscritpion, which is inside the report i'm working, the option to create a subscription it's disable, so what should i do to turn it enable. Thanks. What edition of SQL Server 2005 did you install Regular subscriptions are only available in Standard or Enterprise Edition. Data-driven subscriptions are Enterprise Edition only. See also: http://www.microsoft.com/sql/technologies/reporting/rsfeatures.mspx -- Robert ...Show All

  • SQL Server Where the best practices for SSIS packages document is?

    Dear gurus, I've got this one for Sql2k http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql2k/html/sql_busintbpwithdts.asp Any help or link would be welcomed, I've published my own ideas about this here: http://blogs.conchango.com/jamiethomson/archive/2006/01/05/2554.aspx Note these are my own opinions so you can take them or leave them as you please. -Jamie ...Show All

  • SQL Server Questions on how to build my schema to handle many to many relationships

    I'm trying to figure out how to build my schema and so far I am not having success. I have three tables: Customer CustomerID (PK) CustomerStuff Address AddressID (PK) AddressStuff AddressLink AddressLinkID (PK) CustomerID (FK) AddressID (FK) AddressLinkStuff Here is the XML file that I receive that I have to load into these tables: <root>  <Customer>   <CustomerID>999</CustomerID>   <CustomerStuff></CustomerStuff>  </Customer>  <Address>   <AddressID>111</AddressID>   <AddressStuff></AddressStuff>   <AddressLinkStuff></ ...Show All

  • .NET Development How to calcul a file's md5

    Hi, I've been looking in the .net framework for a way to get the md5 of a file. I'm new to this technology so i think i'm doing something wrong Please have a look at my code: MD5 ^ md5 = gcnew MD5CryptoServiceProvider(); System::String ^ fileName; System::String ^ Result; fileName = textBox2->Text::get(); FileStream ^ fs = File::OpenRead(fileName); Result = System::Convert::ToBase64String(md5->ComputeHash(fs)); textBox1->Text::set(Result); MessageBox::Show("Calcul du MD5 termine.", "MD5", MessageBoxButtons::OK, MessageBoxIcon::Exclamation);   It return something but when i use an other software in order to get the s ...Show All

  • Visual Studio Express Editions Nested Loops In OOP

    Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a, b, c As Integer For a = 0 To 1 For b = 0 To 1 For c = 0 To 1 MsgBox( "Fish" ) Next MsgBox( "Dog" ) Next MsgBox( "Cat" ) Next End Sub I Started VBE in Nov/05..... My first OOP Language... I am having extreme Difficulty in Learning OOP.... Would someone please Translate these Procedural Nested Loops in the Button to Pure OOP..... Thanks I don't know what you want to do, but this is just a nested loop. This can't be created otherwise, t ...Show All

©2008 Software Development Network