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

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

Penicillin

Member List

Mahesh kumara
Magos294963
Zulbaric
davidacoder
Jason227
GoodMorningSky
Hoopla
kmbarz
Jabber
dr.acv
QWERTYtech
DotNetFireball
steal
tvenhaus
RonanDiniz
Carel Greaves
Nightowly
RichardM_UK
streetpc
lukers
Only Title

Penicillin's Q&A profile

  • Silverlight (formerly WPF/E) Pixel based graphics

    Does the Feb CTP adds any support for doing good old pixel based effects The vector stuff is cool but for some things pixel based effects are mandatory. If not, is it planed for a future version :-( I'm not asking for a full fledged pixel based library like GDI+. Just some way to show and edit pixels directly like BitmapSource. I hope such a basic support gets added soon. ...Show All

  • SQL Server Show / Hide Parameters on a Report

    Is there any way to get the parameters to remain visible after clicking on a report link Currently, when I click my report link and pass parameters, the new report loads with all the parameters hidden even though they normally appear fine when you go to the report straight. Now, there is a way to make them visible by clicking the "Show / Hide Parameters" button on the far right of the screen. However, I would really like to hear of a way to automatically keep my parameters visible after clicking on a report link. This is especially useful since most general users won't know to click the "Show / Hide Parameters" button and won't be able to specify new parameters after clicking the report link. Any ideas Thanks!!! ...Show All

  • Visual C++ C# to C++ WMI

    Does anyone know to convert the following C# code to VC++.Net       foreach(ManagementObject partition in new ManagementObjectSearcher(         "ASSOCIATORS OF {Win32_DiskDrive.DeviceID='" + drive["DeviceID"]           + "'} WHERE AssocClass = Win32_DiskDriveToDiskPartition").Get())     Sorry i am using VC++.Net 2003 i have error after doing this, the error is "error C2107: illegal index, indirection not allowed", pls kindly let me know how to solve it. Thank you ManagementObjectSearcher __gc *partition2 = new ManagementObjectSearcher("ASSOCIATORS OF {Win32_DiskDrive.DeviceID='" + drive[&quo ...Show All

  • Visual Studio Express Editions get string from string

    Hi I want to know how to get a string from a string. Let me do an example to understand better. I have "> Bogas Corp acabou de entrar." I want to keep just "Bogas Corp". It has to work dynamically because "Bogas Corp" is dynamical, it can be a different name. "> " and " acabou de entrar." are fixed, they don't change, so how can I get what’s in the middle of them Please help! Sincerely Bogas Corp Hi, you can use the methods of the string class to find substrings and extract them. With myString.InexOf and myString.LastIndexOf you will get postions where your searched substring is and with myString.Substring(start,end) you can get ...Show All

  • Visual Studio 2008 (Pre-release) MediaElement is playing HD-movies slow in RC1

    I've just upgraded my system from June CTP to RC1 of .NET 3.0. Rebuilding my projects worked without any problem but when i try to playback a HD-movie(720p) in a mediaelement i get unacceptable framerates. In June CTP the exact same movie worked perfect and i can't think of anything else that has changed in eighter my system or project that might affect videoplayback. Playing the movie in WMP, VLC or any other player works just as before. My system: Athlon 3200+, 1024mb ram, Radeo 9800pro 128mb, XP Pro, WMP 10 Have you used Perforator to see if you're falling back to software Have you updated your drivers (.Net 3.0 will fallback to software if video card drivers are not up-to-date) ...Show All

  • Visual Studio Express Editions Getting and displaying the build version

    Hi, I am semi new to VB.net and am building a program that actually works! What I want to do is to display the build version in my form that VB gives the form automatically. How do I do this I dont want anything fancy just build:1.0.0.1 or what ever it is at the time. Thanks Actually, if you use Windows explorer and find the file, doing a properties on the "exe" should show two things: Both File Version and Assembly version under the version tab. ...Show All

  • Windows Forms Treeview - Problem with multiple languages

    Hi, I have an event, treeView1_AfterSelect and I do something based upon treeView1.SelectedNode.Text property. I compare that property with something say "Messages" and it works fine. The problem came up when we decided to globalize the application. I can no longer make the same comparison because Messages wont be messages in lets say my spanish GUI. I dont know how to make the comparison now, I went through string.Compare() but am afraid thats not of much use. Any pointers on this would be appreciated, Thanks !! If you're doing something like: if(treeView1.SelectedNode.Text == "Message") I would suggest moving the "Message" into your applications settings as a string t ...Show All

  • SQL Server Simulate "Grand Total" but with functions: AVG, MAX, MIN.....

    Hi - i want to create a calculated dimension member that shows an average of all visible members: How I can simulate "Grand Total", but with other functions: AVG, MAX, MIN..... If I try to create an Calculated Dimension Member "Average" with this expressions: AVG([Clients][Clients].members) AVG([Clients][Clients].[All Clients].children) AVG([Clients][Clients].[Clients].members) AVG(Existing ([Clients][Clients].members)) AVG(Existing .......) but he always calculates an average of all members: so if I filter out some clients (when I am browsing the cube) the average value doesn't change. For example: "Client A" 10 "Client B" 20 "Client C" 3 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Custom Rotation

    Hello all, I'm having a bit of a problem with rotating. I'm rendering a triangle by defining its coordinated to the vertexbuffer. Now, i want to rotate it around when of the points. rotating the world around the X, Y or Z axis won't do the job. I'll try to draw it. This is the triangle i render. /\ / \ /___ \ Now i want to rotate it by 90 degrees, so it would look like the next draw: /| / | / | \ | \ | \| I dont want the size to change (don't let my great drawings to mislead you). Is there an easy possibility to do it by changing the World Transformation, or i have to change the coordinates of the vertex and to what values Thanks. i already tried this one. i ca ...Show All

  • Software Development for Windows Vista kbfiltr example in ddk doesn't work?

    I have been using a modified version of the kbfiltr DDK example that I have been using to route data from a HID keyboard MSR up to user level for an OPOS "driver" for some time now on Win2k and XP. It works on 2k and XP but becuase I use IOCTLs it won't run on Vista. As I inderstand, IOCTLs are no longer allowed between user space and kernel space any more Installing it, Vista claims that the driver is not compatible with Vista, I believe this is the reason, but anyway... So I am starting over with the WinSDK/DDK sample "kmdf/kbfiler" This contains an alternate method of user level communication. However, after building the .sys file and the test program, then installing the filter driver on the MSR device, both t ...Show All

  • Visual C# C# daemon

    How do I go about writing a Unix style daemon in C# for the Windows environment Create a Windows Service. http://www.codeproject.com/dotnet/simplewindowsservice.asp ...Show All

  • Visual Studio Express Editions My.Computer.Printers?

    What is my problem When I try to make a simple print test I can not get access to the Printer library in the My namespace. When I write My.Computer. a list comes up with Networks, Ports, Registry, Screen and lots of other stuff but not Printers. Why I shouldn't have to install a printer just to write the code I have Adobe PDF as my default printer right now but that shouldn't matter. I also have downloaded VB Express recently and I am quite certain that it is the most recent one. Thanks for your help! /Mattias there is no My.Computer.Printers class/namespace. you would need to use the PrintDialog/PrintDocument classes. The whole My namespace was for .NET 2.0 which basically is a "shortcut" ...Show All

  • Visual Studio Express Editions Database Connectivity: Too Much VBA Experience I think

    ok... I'm pulling my hair out at this point. I have been developing EVERYTHING in VBA for MS Access since 95. SO, I am new to VB.NET AND to VB Express. I went through the Add Data Source Wizard and added my Access Database out on my network. I am trying to write some necessary classes for working with and manipulating the data that I want to pull and manipulate. In my old VBA Applications, I would write Class Modules. One for each table. Each Class would have a LOAD Public Function that well... let me show you... ' *************************************************** ' * Department Identification Number * ' *************************************************** Private intDepartmentID As Integer ' ************************* ...Show All

  • SQL Server How do I know if I have Enterprise or Standard on my machine?

    I go to help>About and it just says SQL Server 2005 Microsoft SQL Server Management Studio Version 9.00.1399.00 Ok got it.. I have standard edition...So that rules out OS incompatibility theory I was under the assumption that I working under. So back to my main problem. I'm unable to establish a local server instance on my machine. I have established remote server instances, but not local.. Any ideas Thanks ...Show All

  • .NET Development HOW TO DELETE RECORD IN A DATABASE ?

    Hi, I have question to delete record in database. After clicked delete button I was able remove that row from view in datagridview but this record still exist in database. Here my coding : private void button3_Click( object sender, EventArgs e) { int Z; Z = dataGridView1.CurrentCell.RowIndex; maintenanceDataSet.MTN_Request.Rows .Delete(); maintenanceDataSet.MTN_Request.AcceptChanges(); } Thanks for your help. Joseph Please, get in the habit of using Parameters with your database queries. They make coding easier, in the longrun, because they will handle all the formatting. Furthermore, they will handle strings in such a way as to prevent SQL injection hacker attacks when you are wri ...Show All

©2008 Software Development Network