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

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

Ultrawhack

Member List

btb73
Pure Krome
William Bartholomew
edukulla
Sundar Srinivasan
TABLO
Henrik Nilsson
Gurpreet Singh Gill
rusty_bone
Socal5vee
RafaBotero
blixt174963
RostaB
waruwaru
Lawrence Parker
Binary
Andreas Haug
jdrawmer
aggrothingy
Pankaj11
Only Title

Ultrawhack's Q&A profile

  • Visual Basic Problems using a VB6 usercontrol in .NET 2005 - can't find interface, and unable to create from progid

    I'm having some problems in trying to upgrade a VB6 application to VB .net 2005 - I hope someone can give me an idea where to look: The basic upgrade process worked fine, but I'm having trouble with some VB6 / .NET interoperability. The part of this application I'm having trouble with has to create ActiveX controls from their VB6 progids. The old VB6 code used to create these activeX controls dynamically from progids using "controls.add". In .NET, I have tried converting the "controls.add" code to the following, where progid refers to a vb6 user control. (Note that there are a load of these controls which all work perfectly well and I really dont want to have to upgrade them to .net!) When I run the code ...Show All

  • Visual Studio 2008 (Pre-release) Kiosk mode

    Hi, I am trying to create a fullscreen window to play a movie in. I added this to my window in the xaml file. ShowInTaskbar = " False " WindowStyle = " None " WindowState = " Maximized " WindowStartupLocation = " CenterScreen " It almost works. I can still see the border on the left side and the bottom on my screen. Just one pixel thick line but it is there. So I added anoter line top my window in the xaml file. AllowsTransparency = " True" The line disapears! But now my movie plays realy slow. Anyone who can tell me how I can create a fullscreen window with good preformance /Christer Hi, you don't n ...Show All

  • Visual C# simulating keystrokes

    After piecing together some code I gathered from several forum posts, etc I have the code below. What I was hoping it would do is when the form loads it would fill the textbox with the letter A simulating that the A key had been pressed. It doesn't cause any errors but nothing seems to happen. My ulimate goal is to be able to simulate key presses on other applications to help automate processes (like product imports into our company CRM). What am I doing wrong using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Runtime.InteropServices; namespace VKTest { /// <summary> /// Summary description for Form1. /// </summary> public ...Show All

  • SQL Server Users cannot view reports that I (=creator) can

    Hello colleagues, I am trying to create some reports in VS.NET for our Microsoft CRM3.0. I am using a SQL query like this: SELECT CRMAF_Account.Name, CRMAF_Account.primarycontactidName, CRMAF_Account.address1_line1, CRMAF_Account.address1_line2, CRMAF_Account.address1_city, ActivityPointer.scheduledstart, ActivityPointer.subject, ActivityPointer.description FROM ActivityPointer, FilteredAccount CRMAF_Account INNER JOIN FilteredSystemUser FSU ON CRMAF_Account.ownerid = FSU.systemuserid WHERE ActivityPointer.regardingobjectid = CRMAF_Account.accountID AND FSU.Domainname = SYSTEM_USER ORDER BY Datum DESC When I run this query, I get the desired result (I am the database dbo), but when any user tries doing the same, they get an err ...Show All

  • Visual C# C# translation help

    Can someone please translate this Visual Basic code to C# for me ================================================================== Public Shared Function Login( ByVal Username As String , ByVal Password As String , ByVal Connection As String ) Dim Conn As OleDbConnection = New OleDbConnection( String .Format(Connection)) Dim SQL As String = "Select Count(*) As Answer From [users] WHERE [username]='" _ & Username & "' AND [password]='" & Password & "'" Dim Comm As OleDbCommand = New OleDbCommand(SQL, Conn) Dim dr As OleDbDataReader Dim counter As Integer = 0 Dim err As String = "" Dim answer ...Show All

  • SharePoint Products and Technologies Analysis Services filter width

    I have built a dashboard page with Analysis Services filters on top of it. The filters all have a default value (mdx entered). But I have problems with the width of the entry field of the filters. It is possible to control this width by entering a value in the advanced filter options. However, this value is not being used when first opening the dashboard! It seems as if the length of the mdx specifying the default value controls the width! After pressing the "Apply Filters button, the width is set correctly. This looks like a bug to me...Is there any workaround Setting the webpart width to a fixed value does not seem to be an option since scroll bars are added then. Regards Joos Did you hear an ...Show All

  • Visual Studio Express Editions Ugh....Driving Me nuts....

    I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All

  • Visual C# Multiple inheritance scenario

    Hello, I know that there is no multiple inheritance of classes in C#. My problem is, I have a scenario that I don't know how to solve without it. Are there even scenarios that cannot be solved without multiple inheritance or is it just a flaw in my design Alright, this is what it's like. Let's say I have a class Object which represents a named item. class Object { public string Name; } It's extended by the Person class which adds the age property to it. class Person : Object { public int Age; } Next class ( IDObject ) extends Object , so that it can be associated with an integer. class IDObject : Object { public int ID; } Now what do I do if I want a person that has an ID Normally, I'd sug ...Show All

  • SQL Server INSERTING Data From Server to Server

    hi there! Well i have two Servers on this two Servers i have the Database with the same Tables. But the Database in the Server_2 consists no data, I want to fill the Tables in Server_2 from the Data in Server_1. What i want to do is to is liked this. -- I performing this on the second Server. SET IDENTITY_INSERT [Server_2].[Database].[user].[Table] ON INSERT INTO [Database].[user].[Table]({COLUMN_NAMES}) SELECT * FROM [Server_1].[Database].[user].[Table] WHERE id=25 SET IDENTITY_INSERT [Server_2].[Database].[user].[Table] OFF This did not work and i have the following Error Message its in German but the ERRORCODE is 7391. I already check out the help section in MSDN but it doesnt really helps... Any Ideas Thanks Die Oper ...Show All

  • Visual Studio Where to put RDLC file?

    I'm using LocalReports and mapping off of objects. My RDLC files usually stay in a particular project, which is always a DLL. One EXE will usually compose of several reports and DLLs. I have the ReportPath hard coded in my CS files. This is a problem for the deployment. I need a way to have one report path for dev machines and another for user machines. For users, I can put all of the RDLC files into a Report folder and use a config file set user/dev paths. It would have been nice to just embed the report into the DLL and reference the report's namespace.object in the EXE project that uses the DLL. However, once the report is embedded in the DLL, all of the Resources namespace is private. Then it gives the report back as a byte[]. I'm n ...Show All

  • Visual Studio Team System VPN based developers and multi-domain

    After reading many posts in the TFS forums, I'm pretty sure the product is unuseable in our development environment but I would still like some sort of confirmation from people with more experience with TFS. We have many remote developers who access domain A over a VPN connection. TFS is installed in domain B and there is no trust between the two domains. I cannot duplicate the domain A developers accounts into the domain B since the password complexity policies differs and are incompatible. So far I have not been able to get Team Explorer from domain A to make any sort of connection to TFS in domain B. I always get a TFS31002: Unable to connect to this team Foundation Server -The TFS name, port number or protocol is incorrect ...Show All

  • Visual C++ Trying to use function pointers in a class

    Hi all, i'm having a bit of a problem understanding Function pointers, but i think i might be able to put them to a good use here. I have a class ( CCanCCM3 ) that stores data internally. It gets that data from other classes ( CCanRcvMessage ) that get their unpackmessage called by an external manager, upon data ariving on the bus it is listening to. What happens now, is that for each message that can come in, they inherited it and only changed the message for which to listen on the bus, and the function that should get called when that message is received on the bus. I would like to create a derived class that gets that message ID passed to it in the constructor, and also a function pointer to the function it needs to call. Could ...Show All

  • Software Development for Windows Vista CallExternalMethod Activity, Workflow Idle Issue - URGENT

    HI, I created a custom composite activity embedding CallExternalMethod Activity and HandleExternalEvent activity to interact with the Workflow host (ASP.NET appln). I have a simple workflow like this, 1)CustomActivity1 2)Parallel Activity i) CustomActivity 2 ii) CustomActivity 3 3)CustomActivity 4 When the workflow gets executed, the steps 1 and 2 works fine. But when i complete both the items in the parallel activity, my workflow idles (fires the workflow idle event) without evaluating the next CustomActivity4. I have this Workflow Idle issue only when i place my customactivity within a parallel activity. Any help on this. thanks. Does the parallel activity rea ...Show All

  • Visual FoxPro Printing from com dll

    I'm trying to print a report from a Com dll file. I keep getting the OLE IDispatch exception code 2031: User-interface operation not allowed at this time. Is there any way to make this work without building to an .exe file I'm using VFP 9 thanks in advance -m Thanks for your reply, Andy. After your reply we made a getReport( @filefrx, @filefrt, @xml ) return nCounter It runs the query in the dll and returns the files and resultset by ref. And the number of rows in the resultset. Then we run the report client-side -m ...Show All

  • Visual Studio 2008 (Pre-release) How to bind Background to RadialGradientBrush.Color?

    Hello, I defined style for button. Its template contains rectangle filled with RadialGradientBrush and I want to bind Color property of brush to Background property of button. I know, Brush and Color are different types, but how to bind it correctly < Window x:Class = " WPFForm.Window2 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " WPFForm " Height = " 441 " Width = " 520 " > < Window.Resources > < Style x:Key = " ButtonStyler " TargetType = " {x:Type Button} " > < Setter Property = &quo ...Show All

©2008 Software Development Network