Jeff Weber's Q&A profile
SQL Server Login failed for the user (using windows integrated security)
Hello Everyone, I am trying to connect SQL database through code but I get this error,I have spent days to solve it but unfortunately I couldn't...Here is my code in VB express(OP:windows 2000 with SP4)I am new to VB,so it makes the situation more difficult for me. my code is: Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim conn1 As SqlConnection = _ New SqlConnection( "Data Source=.\SQLEXPRESS;" & _ "Integrated Security=SSPI;" & _ "database=deneme3_database;" ) 'Open connection conn1.Open() MessageBox.Show( "Connection succeeded." ) 'Close conn ...Show All
Visual Basic VS 2005 Commerciral Development Version?
I work for a commercial software development company and our primary product has been components (.DLLs) developed in VB6. When we started years ago, we had to buy the VB6 Enterprise Edition in order to develop .DLLs that could be distributed and registered on customer machines. Does the same concept exist in Visual Studio 2005 We want to add a line of .Net-based DLL products and currently have VS 2005 - Professional Edition. Is there any requirement to use VS 2005 Team System for developing commercial apps You can use any version of visual basic / visual studio to develop commercial applications (except student version I think) So you could develop applications using VB Express (which is free) if you ...Show All
Software Development for Windows Vista New xp pro machine, MSDTC not installed or configured?
Hello everyone, I purchased a brand new shiny development machine last weekend (one of the new dual core 2 processor machines...two thumbs way up!). The operating system on the machine is XP Pro. I am coding a C# 2005 winforms application which requires MSDTC and after opening my C# project and running it I noticed that MSDTC is not installed on my new machine. I thought MSDTC was installed on every windows machine but apparently that is not correct. So when I go to component services to look at the Distributed Transaction Coordinator the "my computer" icon has a red arrow over it instead of a green arrow which makes it look like there is a problem. If I click on the "distributed transaction coordinator" folder under co ...Show All
.NET Development FileNotFoundException while calling web service from web service
I have system which runs self standing asmx web service on desktop (I have simple web service web server implemented with http.sys, modified version of system described in http://msdn.microsoft.com/msdnmag/issues/04/12/ServiceStation/default.aspx). This system works just fine with simple web methods in my service, calling for example methods from my other custom assemblies etc. But now, when I add web reference to another web service (AXIS 1.2RC3, running on tomcat), I got exception when calling webmethod that deals with creation of proxy instance to my AXIS service. That AXIS web service has been throughly tested and there should be no problems on it (I have created basic windows form application and added web reference to it and it wor ...Show All
Software Development for Windows Vista DirectShow 2 input filter
I have created a Directshow filter that has 1 input, the base class is CTransformFilter. The input is MEDIASUBTYPE_RGB24. The filter does some color correction. Now I would like to add another input and make it a two input video filter for DirectShow. The idea is to use the second input for doing a composite. Both inputs should be both MEDIASUBTYPE_RGB24. Has anyone done this before Should I still be using the CTransformFilter base class Or should I use another base class or extend CTransformFilter base class to support 2 inputs. If anyone has any code samples for 2 inputs vide filter that would be great Don James I am outputting the result of the filter ...Show All
SQL Server SQL server - how to execute new query
I create some tables and I can't execute new query, I used to be able to do it, but I can't do it now. I'd like to find out that how can I do it again. Thanks What have you done trying to execute a query with these tables Which frontend did you use Did you get a error message What are you expecting to query HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. problem under "less than pixel shader 1.1" environment / can't use REF ?
Hi all. I'm using poor notePC having Intel 865 Graphics Chipset. This one doesn't support pixel shader 1.1, so XNA Template(NewProjects-WindowsGame) doesn't work well. Program stopped at game.Run(). I thought that ReferenceR asterizer (SoftwareShader ) can resolv this problem. So I write below codes, but program stopped at game.Run(). Moreover, I confirmed that graphics_PreparingDeviceSettings was not called. (I n debug_mode step execution, this function was not called.) Hmm...EventHander is called after CreateDevice by default DeviceInformation(required pixel shader 1.1) Are there any solution to execute XNA in "less than pixel shader 1.1" environmen Thank. void graphics_PreparingDeviceSettings(object sender, PreparingDevic ...Show All
Windows Forms Can I unsign a ClickOnce manifest
Without breaking the projects and having to reinstall the app. ClickOnce doesn't have an option for you to unsign the manifest. You can only create a new manifest with the same attributes and not signing it. May I ask why you want to unsign the manifest Thanks, Patty ...Show All
Smart Device Development Exception in COM incorporating
Hi, when I start my project, I get this Exception: "System.Runtime.InteropServices.COMException(0x80040154)" occured in ManagedCOMClient.exe additional Informationen: COM object with CLSID '{67119DD9-681E-4D96-AC72-662D80686F21}' cannot be created due to the following error: Class not registered . Does anybody knows why this exception occures I use Visual Studio 2005 and tried to run on Windows Mobile 5.0 Pocket PC Emulator. I hope you can help me. Thanks in advance jojo82 Because you don't have the object you're trying to use. Most commonly that happens if mobile developer is trying to use desktop COM on device which of course can’t possibly work. You can only use COM ...Show All
.NET Development Mysql connection
Hey everyone i had a question if i could access a mysql database without having to make my users install odbc connection or what not. My app will retrieve search values from a database and allow them to follow a link of the file they want to download from that database search. Im a newbie so Any help is appreciate! Ok glenn would you happen to know how i can use this to display information gotten from a database basically what i want to do is make this http://www.nextelnoob.com/mp3search.php textfield=2pac built into the app so that the users and search ringtones from the app. So letting the users search the database for a certain values and the app returns anything that it find with that name ...Show All
Smart Device Development random TypeLoadException
I am having real issues with a TypeLoadException that occurs generally randomly. I've been working on a .NETCF 2.0 app all day, debugging and generally being productive. All of a sudden, with no changes to the assemblies, I get a TypeLoadException on one of the types in one of my referenced assemblies. It's one of my own assemblies, and I checked the manifest and didn't notice anything untoward. // Metadata version: v2.0.50727 .assembly extern mscorlib { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) // ....=3". .ver 2:0:0:0 } .assembly extern retargetable System.Data { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) // ....=3". .ver 2:0:0:0 } .assembly extern retargetable System.Xml { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) ...Show All
SQL Server Is cube browser available as seperate control for use in winforms app?
I love the cube browser in SQL Server management studio and would like to use it in a client app. But I don't want to give end users the SQL Server management studio. Is it available as a seperate control or is there another one that would be available to me I have tried the Excel addin for cube analysis but it is not as flexible and a Pivot Table report is pretty static. Ta Dirc I agree, it's a little odd to work with. And the properties aren't documented that well. But it's a lot better than having to code it yourself :) ...Show All
Visual Basic any way to NOT break on a very specific com exception
Is there any way to NOT break on a very specific com exception Intel's CT ADE uses a caller's hang up an as exception to travers the call stack, and , overcourse, that is not a real exception in the VS05 world. I didn't see anyway to do it in the Debug, Exceptions. Any ideas Bob Hello BobInIndy, If you put a trycatch just around the offending line of code with nothing in the catch statement it will skip over the error like it didn't even happen Or with the situation of caller hangup you can instruct the modem to redail the caller or what ever other actions you may wish to take... you can even do specific error checking in the catch phrase to check for different error types as well as specific errors ...Show All
Visual Basic Show a Boolean Field as a Check Box on a Crystal Report
Hello, Does annyone know how to show a Boolean field on a Crystal Report in a form of a Checkbox Or else, what is the best way to show a boolean field on a Crystal Report Thanks, Joao Pinto http://senhorpires.blogspot.com/ Joao Pinto, According to your question, I suggest you to read the following articles that show two useful examples on your demand: 1. Creating the Report with Parameters http://msdn2.microsoft.com/en-us/library/ms227825(vs.80).aspx 2. Add Professional Quality Reports to Your Application with Visual Studio .NET http://msdn.microsoft.com/msdnmag/issues/02/05/Crystal/ In order to get the satisfied answer, I suggest you to post your question in the Cryst ...Show All
.NET Development too many characters in character literal,
< asp : ImageButton ID ="ImageButton1" ImageUrl ="/Images/Calendar.gif" runat ="server" OnClick =calendar_window=window.open('calendar.aspx')" /> During The Compile Time I Receiver The Following Error too many characters in character literal, what might be the problem, how to resolve this, Regards, Prasenna. K I believe next part of code causes the issue where you have two assignments and double quote at the enad that does not have opening quote OnClick =calendar_window=window.open('calendar.aspx')" You need to check what you need there. Current thread will be locked and deleted later on because it does not belong to ...Show All
