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

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

Ravencraft

Member List

enric vives
linzbfc
IanBlackburn
spammer
michael.e.obrien
c_shah
Aleniko29139
Peter McEvoy
Jeroen Bransen - J-Thread
Rob_MUFC_1982
aspfun
white_angel_22
aarongreenberg
ClaudiaHelpOnVSTO
olarsson
HARSH_JOSHI
Todd Biggs - Windows Live
paulpayne
Can-Ann
FreddieCode
Only Title

Ravencraft's Q&A profile

  • Visual Basic Refference Version is incompetible

    I am workin in VB.2005. and i have no. of projects in single solution say Sol1. one named DBConnectioni. this project is included in another solution say Sol2. from the same location. i built Sol2 a few times and the version of DBConnectioni.dll changed from 1.0.2502.###### to 1.0.2504.######. it was working well here. but after that i started working on Sol1. and as i try to run project it doesn't allow me the instance of any class in DBConnectioni and an exception (FileNotFoundException) is thrown with the message " File = "DBConnectioni.dll" , version = " 1.0.2202.#####" ....... could not be found (Sort of ) i dont have that version of dll now please guide me how do i solve this problem Open Assem ...Show All

  • Visual Studio Visual Basic macro not capturing ItemAdded, ItemRemoved or ItemRenamed events

    Hello all, I've written a simple macro that displays a message box each time an event happens. This is working so far for, e.g. OnBuildDone from EnvDTE.BuildEvents. But unfortunately I cannot catch ItemAdded, ItemRemoved or ItemRenamed from EnvDTE.ProjectItemsEvents! This is the content of my EnvironmentEvents-module: Option Strict Off Option Explicit Off Imports System Imports EnvDTE Imports EnvDTE80 Imports System.Diagnostics Public Module EnvironmentEvents #Region "Automatically generated code, do not modify" Private Sub BuildEvents_OnBuildDone(ByVal Scope As EnvDTE.vsBuildScope, ByVal Action As EnvDTE.vsBuildAction) _ Handles BuildEvents.OnBuildDone 'Alert that we finished building! MsgBox(" ...Show All

  • SQL Server AS2005: Replacing the sole data source for existing cube?

    Does BI Dev Studio support (and if so, how) replacing the sole data source for an existing cube with a new data source As a note, this new data source is really an enhanced version of the original, but with added fields, stored procedures, etc. I imagine that, if I can do what I'm asking about above, then the DSV Refresh function will either automate, or at least document, the changes needed at DSV level to keep the cube connection valid. Question restated: DoesBI Dev Studio support (and if so, how) replacing the sole data source for an existing AS2005 cube with a new data source The best way to change the source of data for an existing OLAP or Data Mining object is simply to change the connection ...Show All

  • Visual Studio Express Editions how update SQL database in VB

    when i m trying to insert duplicate entry in database , an exception comes out and to resolve this i have written code for update existing one. but it doesn't update existing record. and also please tell me how i can found specific record in Database. here is my code: Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim tfp As FileIO.TextFieldParser = My.Computer.FileSystem.OpenTextFieldParser("MyTextFile.txt") tfp.Delimiters = New String() {"!"} tfp.HasFieldsEnclosedInQuotes = False While Not tfp.EndOfData Dim Fields() As String = tfp.ReadFields InsertSQL(Fields) End While End Sub Private S ...Show All

  • SQL Server Unable to set Default Schema for a group

    We're using Windows Authentication with our SQL Server.  We've added a domain group to the SQL Server groups and would like to give it a default schema.  The properties window is the same for users and groups but the default schema field is enable only for user entities.  We cannot add a default schema to a group.   Is this by design,  a bug or a problem with our SQL Server installation Updated on 2005/08/29 My first try was done at through Database\Security\Users.  I tried going through Server\Security\Logins and I got this error message    Alter failed for User 'Domain\Group'. (Microsoft.SqlServer.SMO)   Additional Information:   --> An exception occured while ...Show All

  • Visual Basic How to Get Version Number of Class from Within the Class?

    I want to create a method within my classes that I can call which will be added to general information in an 'About Box'. I don't know how to reference a Class's version from within the class I've put the {CraigsClass.Version.ToString} to represent what I would like to see...though this isn't a real method or property. How do I accomplish this Example of what I'm trying to do: Public Class CraigsClass Public Sub HelpAbout() MessageBox.Show( "Developed by: Craig Mynatt with VB 2005, Nov 2006, Version: " & {CraigsClass.Version.ToString} ) End Sub End Class Put a Public ReadOnly Property of the String Datatype in your classes. You won't need the .tost ...Show All

  • SQL Server disable implicit casting

    Is there a way do disable/disallow implicit casting in Sql Server 2000 Say for example: if ' ' = 0 select getdate () This wil print out the current date and time. But ' ' (a string, varchar, whatever) is not the same type as 0 (say, int). Implicit casting is nice, but is there also an off switch I've looked at the book Itzik Ben-Gan (T-SQL Programming). On the paragraph about implicit conversion he doesn't cite any way to switch it off. He also suggests that in some case may be useful to explicit cast data to sql_variant and reports the following example, that maybe can suggest a workaround: select case when 1>1 then 10 when 1=1 then 'abc' when 1<1 the ...Show All

  • Visual Studio Which files are included in a .msm file?

    Hello everyone, ich need to distribute a list of Visual Basic Runtime files. I downloaded the redistributable merge modules for Visual Basic 6, Service Pack 6. My problem is that i don't have a .msm file for every .dll file i need to distribute. For exampe i need to know, where is ASYCFILT.DLL included There are some more files that i need to know. Is there any webpage or tool that shows me which .msm file includes which .dll oder .tlb files Thank you for every hint or help you can give me. Best regards, Sven I found a way to see, whats inside a .msm file. For everyone who needs it too: http://www.hotan.biz/tools/msmfind.asp Its called " Merge Module Finder" and shows dependancies and includes ...Show All

  • SQL Server How to avoid that my application writes to Windows' EventLog?

    Hi everyone, Every time that my application throws an .DTSX file I don't know who or what is writing on eventviewer.application if failed or successful. Execute method implements a customized class which implements IDTEVENTS but I promise that in any place of my code I'm writing that information. app.execute(nothing,... MYEVENTS) Public Class MYEVENTS Implements IDTEVENTS .. .. .. .. All the methods are declared although empty but OnQueryCancel which is customized. How to disable this behaviour I'm concerned for that because of we could launch (when it's gonna in live) 300 or 400 packages on-daily basis!!! Thanks in advance and regards, ...Show All

  • Visual Studio 2008 (Pre-release) Default value?

    I have the below contract but it does not seem to work. When the client calls this api without specifying the optional argument instead of setting the value to the default it is always null. I have included the datacontract and a portion of the service reference from the client. The client service reference code seems to "know" that this parameter is optional but it does not seem to "know" about the default value. What am I doing wrong Kevin < xsd:element name =" Culture " type =" xsd:string " default =" en-US " minOccurs =" 0 "/> [ DataContract ()] public class GetPaymentTypesRequestType { private string cultureField; public GetPa ...Show All

  • SQL Server Copying database using "Copy Database"

    I am struggling with the "Copy Database Wizard" in SQL Server 2005. I am used to working with DTS to copy data from one server to another, but with the new tools, I am having serious problems (in fact, it's unusable) 1. When copying a database using the "SQL Management Object" method, I always get errors concerning logins. If I select not to copy logins, I get errors "sp_grantdbaccess failed". If I do select to copy logins, the logins can't be created because the machine names are different (one the source machine, the login is called MACHINE1/mylogin, but on the destination machine, such a login cannot be created) 2. For small databases, I ALWAYS get the error "CREATE DATABASE failed. Primary file must be at least 3 MB to accommodat ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. text mixed with 3d

    thought id ask another question while im at it. i want to display text on the hud of my 3d engine. i did some searching and came across some of the text components out there and chose the nuclex.fonts componenet (very good imo). this works fine on its own or with other 2d objects (eg. sprites) but if i render any 3d objects, all the 3d objects have z buffer issues. i noticed this problem when i first introduced sprites into my engine and it was fixed via the spritebatch.begin methods savestatemode parameter. however, this functionality doesnt exist with the nuclex.fonts package, so my 3d objects are all screwed again. is there another option to prevent this, or can someone tell me how to manually save my renderstate and restore it after re ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Getting my application to run on someone elses computer

    I just tried to get my version of my program to run on another computer. The application fails to start up because it fails to find d3dx9_30.dll. The person has on there computer direct X 9c runtime installed. So my question is how do I make my application so it can run on anyones pc who already has direct X 9 installed Will I need an installation program to ensure the person has this file Or can i get by with changing the compile settings. Or can i include d3dx9_30.dll in with the application Using Visual Studio 2005 and direct X 9c Thanks you have clarified everything i wanted to know. I'm sorry if i offended. Yeah i have since contacted the people who need the software and have given them the in ...Show All

  • Visual C++ worker thread slowed by MFC UI interactions

    I create a SDI MFC program in which there is a worker thread to render a 3D scene. I found the rendering speed will be interupted and slowed by some UI interactions, e.g., moving the window by drag the window title, mouse move on some toolbar's buttons. However the program implemented by C win32 API has little performence decrease under the same condition.  Could you give some suggestion Thanks. I haven't manually invalidated the view or coustomized its ondraw function. I just create a 3D engine renderer(Ogre 3D engine) in the worker thread and give the HWND of the view to it. Then call the 3D engine's method "renderOneFrame" in the loop of the worker thread. I guess the engine do the ...Show All

  • Visual Studio VS Standard & Crystal Reports

    Hi all Is it possible for me to develop Crystal Reports applications with Visual Studio 2005 Standard Edition Thank for any advance. Charoite I got both VS 2005 Standard & Crystal Reports XI R2 but I still can use the crystal components, any idea or articles that will help me to setup the IDE Thanks a lot!! Edwin ...Show All

©2008 Software Development Network