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

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

davidg12

Member List

R Raghu
KevinBurton
StairCounter
vgt918cs
adorer
Elliot Rodriguez
simple1
Jon Braganza
Jacco Mintjes
best49erfan
jackli_0112
Vaish
Andijk
Sajankp
M. Nicholas
mwalsh
btravis
Lady Najla
Esp_99
Gregory English
Only Title

davidg12's Q&A profile

  • Visual Basic Problems converting a byte array to string

    Hello, i need some help on this one, i have a byte array with some information i get from an UDP server here is an example of what my code looks like Dim b() As Byte = {0, 179, 68, 252, 255, 128, 234, 244} Dim s As String = System.Text.Encoding. Default .GetString(b) Debug.WriteLine(s) Now if notice the first byte is 0, when this happens my result string will be nothing Any ideas on how to fix this Thank you 0 is typically the null terminator character - as such, most display libraries won't show anything past it. In this case, the conversion to string seems to be doing things correctly - if you check the length of the string it is 8, indicating the characters were converted. If you use consol ...Show All

  • SQL Server semi invisible hyperlink server name

    Hi I have PDFs that are embedded in Internal server. In my report, I want to create hyperlinks to these PDF. However, how do you make it so that when the PDFs are displayed in a browser, the viewer don't get to see the address of where these PDFs are stored This is so that the viewer don't get to see our company's server address where there are lots of sensitive documents and information. Can I make it so that a fake or symbolic address of those PDFs show up Any suggestion Thank you very much in advance ...Show All

  • Visual Studio Express Editions outlining

    Hi, I don't know if this intentional behaviour, or if I'm missing something obvious, but I would like to be able to use outlining to be able to expand and collapse functions and other code blocks such as after "for", "while" or "if". As far as I can tell, I can only set the editor to allow function outlining, and if I want code block outlining, I have to disable automatic (function) outlining and select specific bits of code and press Ctrl+M Ctrl+H. Is there a better way which allows both function and code block outlining simultaneously I'm using C# 2005 Express. Many thanks, Jonathan Hi, Thanks - I found that after I posted. However, is that the only way to make it do that on ...Show All

  • Visual Studio same problem

    A requirement of my reporting system that I'm developing is that it be possible to localize the reports.  They don't need to be localized dynamically -- we can provide different RDL files for each language and report combination. When I put japanese characters into the RDL file I get mixed results. When I export to Excel, it exports fine (except for the chart labels). When I export to PDF, I get the following error: A call to PInvoke function 'Microsoft.ReportViewer.Common!Microsoft.ReportingServices.Rendering.ImageRenderer.CompositionPDF+WindowsGDIWrapper::GetGlyphIndicesW' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention an ...Show All

  • Visual C++ Adding a window within a window.

    Hi all, I have created a window(without title bar) class with image manipulating functionalities. Just I want to show this window as part of another window, that is with in a window just like controls. I know to display as a separate window. But I just want to show as part of parent window, like a control. I hope my question is clear. I am using Visual Studio 2005. :) Purusothaman A Thank you viorel. But I am not yet clear. Is it simply enough to pass parent window as parameter and specify WS_CHILD style to a class derived from CWnd/CDialog Will this embed my CWnd/CDialog derived class's object into another window Can u show me a small example (pseudo)code snippet Sorry for asking more. Because I alrea ...Show All

  • Visual Studio 2008 (Pre-release) how to open a word file thru my application

      hi, i need to open a word file. i got that solved from a recent thread posted in this forum. i opened it by using Process.Start("winword.exe","C:\myfile.doc"); but it opened in a new window. what i need is, i wanna open that file in  a panel ( a canvas) in my application Window.  How thanX advance, Sris hi, thanx for the reply mubshir,Ruurd, ashish. one thing to make clear, I'm not working on WindowsForms. i'm working on WinFx WindowsAplication, so can i use System.Windows.Forms within my application if not how thanX advance, Sris ...Show All

  • SQL Server Drill-To-Detail in ProClarity

    Hi When we do a Drill-To-Detail in ProClarity, I get the "Key" columns of the dimensions. This would not make sense to the user. All my dimensions except a few like Date dimension, have 'KEY' as one of the attributes. This 'Key' attribute is set with Usage = Key. I presume that this is a sort of primary key for the dimension. The relational tables of all dimensions contain the Key column, which is referenced in the Fact table. Although I dont display the Key/Id attribute in any cubes, I thought that they are necessary for faster access to the data and for aggregations. Either I have to remove the 'Drill-To-Detail' feature from ProClarity or make it sensible to users. What I tried is: I deleted the Key attribute a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Simple following algorithm

    I'm learning directx and i'm writing a simple program that will have one object on the screen follow another thats moving around randomly. lets say theres leader and follower. I get the leaders x/y coords and subtract the followers x/y coords, which gives me x and y values relative to the follower. Then to calculate the heading, i do an arctan(y/x). From there to get the new coords for the follower, x = speed * cos(heading) and y = sin(heading) Now the follower will follow the leader until the leader passes directly above or below it, in which case the follower changes direction 180 degrees. It seems like the answer should be simple enough but i cannot figure out how else to do this. Thanks in advance, Kyle ...Show All

  • Visual Studio Packages for Express Editions

    I have built the BasicPackage sample and it works great in Visual Studio both with the Experimental hive and full.  I exported the registry keys and tested it both ways and it works great. I then updated the .reg files  and altered them to write out to VCSExpress. VCSExpress is failing to load these giving the infamous "Package Load Failure" message. - I know the dll is registered correctly (it didn't move between the tests) - I know the registry entires are valid (only the base key I write to changed) - I ran "vscexpress.exe /setup" but it returns immediately, unlike devenv.exe - I ran "vscexpress.exe /log" yet it appears to do nothing, unlike devenv.exe   I understand that most of the extensiblity ...Show All

  • Visual Studio Installation failed, MDAC 2.8, SP1, access is denied

    Tried to install VS2005 on a Win2000 Pro. PC, but got the error when it was installing MDAC 2.8 SP1 and the whole process stopped. Any idea and solutions Thanks Thanks for the suggestions. Still having problem. I first followed your suggestion to run the SubInACL tool , it took few minutes to finish and no error message. Then I ran the mdac_typ.exe directly from the CD, I got this error message right after I click "Finish" to install: "INF Install failure, Reason: Access is denied". If I ran the installation from the VS2005 CD, this is the error log I received: [02/20/07,14:27:47] Microsoft Data Access Components 2.8 SP1: [2] Error code -2147024891 for this component means "Access is denied. " [02/20/ ...Show All

  • Visual Studio 2008 (Pre-release) Error requesting metadata with sample about CustomToken

    Hello everybody, I'm working on a custom SecurityToken, starting from the sample provided with the Feb CTP drop (TechnologySamples\Extensibility\Security\CustomToken). The sample works fine and my custom SecurityToken too, by the way when I try to browse, via a web browser, the service.svc in order to get metadata (HTML documentation or autogenerated WSDL) I get an error "The service encountered an error while generating metadata. See the trace files for more details.". I turned on tracing and I saw, using SvcTraceViewer, that the error (not only in my custom SecurityToken implementation, but also in the sample one) is: Exception: System.InvalidOperationException Message: An exception was thrown in a call to a poli ...Show All

  • SQL Server Multi-part Identfier could not be found (with SQL Script)

    Hi all, I have attached the following script from which the error message come from. Please help me out. use PatientCare go select pr . PatientId , p . FirstName , p . LastName , m . Name from Prescription as pr inner join Patient as p inner join Medicine as m on p . PatientId = pr . PatientId on pr . MedicineCode = m . MedicineCode ; Error message got is as below: Msg 4104, Level 16, State 1, Line 1 The multi-part identifier "pr.PatientId" could not be bound. Thanx in advance. Ronald   Ronaldlee Ejalu wrote: use PatientCare go select pr . PatientId , p . FirstName , p . LastName , m . Name from Pres ...Show All

  • Visual Basic Using .bas files in Visual Studio 2005??

    I am trying to utilize a library of function for GPIB communication. I was instructed to add a .bas module to the project to link up with the function library. However it seems like Visual Studio 2005 doesn't like .bas files like VS6 did. Any suggestions Thanks This post is a little late, but it could help someone who has a similar question. I will assume that you are using a National Instruments GPIB controller. For VS 2003 and 2005, just download and install the latest software for your GPIB interface from ni.com. The software includes native .NET support for GPIB communication. You will no longer need the .bas files. If you have an interface from another manufacturer, there is almost no doubt they will ...Show All

  • SQL Server [Transfer SQL Server Objects Task] Error: Table "XXXXXXX" does not exist at the source.

    Does anyone know what could be causing the error on Transfer SQL Server Objects Task   I tried to develope a SSIS project in the Business Intelligence studio to transfer table between databases on the same server.  However, I have been getting the following error: [Transfer SQL Server Objects Task] Error: Table "XXXXXX" does not exist at the source. Is there a setting that I need to change to make this work   Thank you for your help.   I am hoping someone will answer the last question. I cannot beleive you would release a product with such a simple task not working. As a workaround, I suppose I can create an SMO task to handle this, but that is more development time than I ha ...Show All

  • Visual Studio 2008 (Pre-release) Binding to LINQ Queries

    Hello, I am working through the examples in the Dlinq Designer Wallkthrough. I am on the section called "Binding to LINQ Queries". The following code is added to the RunQueryButton event handler: Dim results = From customers in NorthwindDataContext1.Customers _ Where customers.City = CityTextBox.Text _ Select customers CustomersBindingSource.DataSource = results.ToBindingList() When I run the program and click the button, I get the following error: The method 'DLINQWalkthrough.Form1.get_CityTextBox' is not a property accessor Any ideas what might be causing this error Thanks, Tom Hi Joe, Sorry for the typo. I typed the code into the forum website r ...Show All

©2008 Software Development Network