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

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

vande013

Member List

eriklarsson
SucceedEgg
Deep123
Devver
ackermsb
Steve Jackson
JustinParkes
CalinMac
Alessandro Camargo
Pockey
Badajoz95
CNB
cindyluke
KitGreen
CrystalDeveloper
satab
Kamii47
Freeky
ahmedilyas
WXS123
Only Title

vande013's Q&A profile

  • Visual Basic Beginners question

    Hi, when I use the HelloWorld example from the interop forms toolkit, everything is fine except if I try to add a new Public Sub. 1) E.g. I add the following code (while VB6 IDE is closed): in class HelloWorldForm after # Region "Public Methods" : <InteropFormMethod()> _ Public Sub newPosition( ByVal x As Integer , ByVal y As Integer ) Me .Left = x Me .Top = y End Sub 2) I open the vb6 IDE and start the main app. I press the "launch .NET form" button and see a modified .NET form, because I modified the form earlier in the .NET environment. 3) But if I edit the vb6 code re browse the objects in the object browser, I can not see the new Public Sub. What is the reason that ...Show All

  • Visual Studio Express Editions interested in programming

    I am interested in learning programming. First, I need to find a dictionary of keywords. Rules for using keywords. How to express ideas in computer language must be learned. Then some hard work learning and using knowledge. Microsoft encourages people to use resources to develope programs I believe. C++ combined with visual studio to make Visual c++ Express 2005 with Windows xp in my computer. VOS, I looked at your link and was initally impressed. Then I looked at your topics, and noticed that they have a login and an "Add to cart". For the life of me it looks as if you are advertising and profitting off this this board which is against the gudelines of this board. ...Show All

  • Smart Device Development how do i read a file

    hi how do i read file in vc++ for smartphones You read a file on a smartphone the same way you do it anyway. E.g. /* FREAD.C: This program opens a file named FREAD.OUT and * writes 25 characters to the file. It then tries to open * FREAD.OUT and read in 25 characters. If the attempt succeeds, * the program displays the number of actual items read. */ #include <stdio.h> void main( void ) { FILE *stream; char list[30]; int i, numread, numwritten; /* Open file in text mode: */ if( (stream = fopen( "fread.out", "w+t" )) != NULL ) { for ( i = 0; i < 25; i++ ) list = (char)('z' - i); /* Write 25 characters to stream */ numwritten = fwrite( list, sizeof( char ), 25, stream ); ...Show All

  • SQL Server Variables and ForEach container

    Is there a way to set a variable as a substring of the enumerator in a Foreach File Enumerator type The Variable Mappings tab in the Foreach Loop Editor does not allow you to enter an expression. Fred Var1 has the enumerated value. You want Var2 to be a substring of Var1. Select Var2, then hit F4, or select the Properties grid. Set the EvaluateAsExpression property to true. Set the Expression property to do the manipulation, e.g. SUBSTRING(@Var1, 1,1) There is an expression builder behind the elipsis button in the Propery grid, when you have selected the Expression property. If there is no elipsis, then you should upgrade your workstation to SP1 for SQL 2005. I'd also recomend th ...Show All

  • SQL Server Need example of a "Hash" function.....

    Many articles on sql server security make reference to Hash functions. Do you know of a simple example of a hash function that I could show to others For example, would taking the first eight bytes of the mathematical "sin" of a number be a good function I don't know. Or is a hash "function" actually an involved algorithm, so the "simple" formula I was looking for really doesn't exist. TIA, Barkingdog In SQL Server 2005 we have a new builtin to calculate hash functions: HashBytes. For more details on this builtin I recommend consulting BOL ( http://msdn2.microsoft.com/en-us/library/ms174415.aspx ), but here is a short example: SELECT HashBytes ...Show All

  • Visual Studio Automatically publish and copy

    The following are my project requirements: Automatically build entire solution (did that) If successful, publish certain web app application projects and copy other project dlls and exe's to different directories on different servers. If build failed, do nothing I would be grateful If someone can send me a sample .proj sample to do 2 & 3 Yoni All you need is to pass a parameter to the WAP project, more details here: http://forums.asp.net/1534682/ShowThread.aspx#1534682 ...Show All

  • Visual Studio Team System installing TFS

    Where can I find reliable information on hot to install and configure TFS You will find the most authentic information in the VSTS Installation Guide at http://www.microsoft.com/downloads/details.aspx FamilyID=e54bf6ff-026b-43a4-ade4-a690388f310e&displaylang=en ...Show All

  • .NET Development ExecuteScalar() help

    Hi, I'm have problem with ExecuteScalar() which do not return the result. Sometime it return executescalar error not properly connection. So, any idea how to make it able return value My sample code: <asp:Label ID="lblneworder" Runat="server" Text="<%# GetPending() %>"> </asp:Label> ................. public function GetPending() as string Dim sql As New SqlCommand("select count(*) from OrderDetail" & _ "where Cancel=1") ...... Try Return CType(sql.ExecuteScalar(), string) Catch 'ex As Exception Throw ' lblerror.Text = "Cannot get new order." _ ' & ex.Message Finall ...Show All

  • SQL Server DTS Heachaches

      I hate this. I swear even though I've done this quite a bit, I always come across the same sh** errors from DTS. (can you tell I just woke up ) I'm trying to copy over data from a table from serverA to serverB using SQL 2005 DTS.  ServerB is using SQL 2000 which shouldn't matter, just a side note.  I need to not only copy but also ensure the identity is also the same by doing an identity insert and reseed.   The table exists in the destination server , I just want to copy over its data.  I need to not only copy the data but also ensure the identity is also the same by doing an identity insert and reseed.    I cannot do a linked server as we will be moving over to differ ...Show All

  • Visual Studio Render Reports Exception

    I am trying to render report but the following errors keeps show up: the code where the exception shows up is: execInfo = rs.LoadReport(reportPath, historyID); System.Web.Services.Protocols.SoapException: The permissions granted to user 'SYS40\IUSR_SYS40' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'SYS40\IUSR_SYS40' are insufficient for performing this operation. at Microsoft.ReportingServices.Library.RSService._GetReportParameterDefinitionFromCatalog(CatalogItemContext reportContext, String historyID, Boolean forRendering, Guid& reportID, Int32& executionOption, String& savedParametersXml, ReportSnapsho ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D graphics and how to do a simlpe put pixel ? (old school style :) )

    Hi people, i have installed XNA with c# and thats its seems to be a pretty good tool but there's not so much documentation for the moment. Im actually seeking on how do a simple putpixel on the screen, i was thinking on creating a Texture2d object then set some data in it and finally draw that texture to the screen but im quite lost on how to create the texture, i ahve tried to create one but i got an exception error on the rutime. Any help would be really apreciated. Thanks, Nicolas Hi, yep will be easier, I'm using the same code that Psykotic gave me, nothing seems wrong to me according the documentation :-/ private void WindowsGame_Starting(object sender, GameEventArgs e) { //Set Screen t ...Show All

  • Visual Studio Properties window in Visual Studio for long string domain properties

    How can I do for a domain property that I need a big description with tabs and line returns =========================================================== For example on dslDefinition window properties -> Documentation->Notes. =========================================================== Is it possible this behavior for a domain property on a Domain class Hi David, You can find in this thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=196030&SiteID=1 how you can specify a 'custom' editor for a domain property. Fortunately there are a number of predefined editors: http://msdn2.microsoft.com/en-us/library/bfc7teys.aspx For your domain property you can use the MultilineStringEditor. On your d ...Show All

  • SQL Server SQL 2005 Service Pack 2

    Can anyone tellme when SQL 2005 Service Pack 2 will be out It is a big problem when I can't look at an existing role and see what permissions are for a group of objects. I found this in forums: http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=605425&SiteID=17 quote user="Bill Ramos"] Actually - we have a "fix" in for our service pack 2 that will be available in CTP form later this summer that will list all of the securables for a given principle that have been explicitly set. You may need to use the "Effective Permissions" button to see if the principle actually has permissions on the securable. Thank you, Bill Ramos, Lead PM, SSMS I've been checking the site above fre ...Show All

  • Visual Studio 2008 (Pre-release) Convert Animation from XAML to C#

    I’m trying to convert this XAML code to C# code, to be able to add my animations at runtime. What happens is that the C# code is semantically correct, but the “c# animation” does not begin. The same XAML code works instead. Am I missing something Thanks Giorgio I'm not up to speed on WPF animation, but try attaching it to your UI, worked for me when I translated animation from XAML to C#. Name the rectangle in XAML.   Name="MyRectangle" Call the BeginStoryboard on with the rectangle in code behind.   BeginStoryboard(MyRectangle, true); ...Show All

  • Visual Studio Team System Missing Button Graphics/Text in Difference and Merge Tools

    We have just started using TFS and have encountered a problem where the button graphics/text and the cursor graphics are missing from the Difference and Merge tools. I am attaching 3 screenshots - all from VS 2005. The first shows the lack of button graphics on the diff tool. The icons are there and are functional, you can figure out what they are when you hover over them you just can't see the graphics. http://www.koinos.com/content/binary/DiffToolNoIcons.JPG The second is the message window that appears when there are no differences. You will see there is no text and the Ok and Help buttons are blank. http://www.koinos.com/content/binary/DiffToolNoDifferences.JPG The third is the merge window, you will see that the butt ...Show All

©2008 Software Development Network