16,916 Topics

Member Avatar for
Member Avatar for Mr.M

Hi DW, I'm getting this error when I try to debug, it says it can't open `"c:\users\myusername\Documents\Visual Studio 2010\Projects\myprojectname\debug\myprojectname.exe"` How can I solve this?

Member Avatar for toneewa
0
49
Member Avatar for lennyli

I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following: Have a webpage with a button, when pressed, it will launch a webpage that runs a …

Member Avatar for Dani
1
179
Member Avatar for steve_55

Hello clever people, Completely new to VB.NET (only installed Visual Studio 2019 in the past couple of days). To start all I want to do is open Excel (office 365) from a button on a userform. The location of the file is on a network, lets say: - \\file-svr01\Rozel\Design\Parts\PNG.xlsx OR …

Member Avatar for Pelorus_1
0
3K
Member Avatar for marrywillson

AI is good for content writer. but some time AI have not perfect solution . so AI not good for future as a content writing prospective.

Member Avatar for Yenjeff
0
131
Member Avatar for Ray brad

My name is Ray Brad. I am a learner in Salesforce development and administration, and I also have knowledge of Java concepts. If anyone has questions related to these topics, feel free to comment, and I will do my best to answer them.

Member Avatar for Dani
2
92
Member Avatar for bkelly13

Environment is Windows 11 and Visual Studio 2019 using Python. I am a Python novice. The goal is a project with multiple dialogs. Not a web project, just many dialogs. From VS some options are Django, Flask, Bottle, Jade, and more. Searches for each of those provide simplistic descriptions without …

Member Avatar for Reverend Jim
0
57
Member Avatar for Syed Zubair Ali

i have a project where i have to given code to system to lock different controls by using code lines in vb6. please guide.

Member Avatar for rproffitt
0
22
Member Avatar for complete

How do I establish an open connection to an open web browser in C#? In a Microsoft C# program using a Visual Studio Code I am using the following namespaces: using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Support.UI; After I get a string variable, "url", assigned with a URL of a website …

Member Avatar for xivlauncher
2
154
Member Avatar for Syed Zubair Ali

Dear Dani, I had **visual basic 6** project, built earlier and was being used a platform, however, my hard disk has been damaged, and entire project has been collapsed. I have exe back up file to run this project and working well, however, i need some more changes and updating …

Member Avatar for Shajjad_1
1
75
Member Avatar for CrystalKanger

good day - I am wondering if anyone can explain to me how to allow the user to change the name of the tabs in a tab control via a textbox? For example, at runtime the user will be able to change the title of the tab ("TabPage1") to "Baking" …

Member Avatar for pathofbuilding
2
54
Member Avatar for dhanya_piit

i want to create table in ms acces database during run time......... Dim myConnection As ADODB.Connection Dim Conn As String Dim vtblNametxt As String Private Sub cratblebtn_Click() vtblNametxt = tblNametxt.Text myConnection.Execute ("create table " & vtblNametxt & " (id varchar2(3),pname varchar2(20), qtyp number(4));") End Sub Private Sub Form_Load() Set myConnection …

Member Avatar for Emil_9
0
1K
Member Avatar for complete

I want to use C# do to a necessary mass emailing of hundreds of receiving email addresses. I have a gmail account and I believe my message will be better received if it comes from my personal gmail account instead of from one of my website's email accounts. But if …

Member Avatar for vivetool
1
82
Member Avatar for inztructor

Hi, a pleasant day to all. I just wanna ask if it is possible to search any string or keyword inside my Access Database using the search in my VB.net application? Most of the tutorials only teach on how to search the table using an exact keyword or input. Example: …

Member Avatar for skynode
0
95
Member Avatar for _1_14

I work in windows form application c# visual studio 2015 This windows form read data by qr reader device and get it as this formate 30 General Conference of Arab Pharmaceutical Unions UserName : michel bondq Country : Egypt Membership : part when read qr it give me message above …

Member Avatar for sgtamilan
0
527
Member Avatar for PM312

I have chart showing daily closing price of share for last 20 days. There is no closing price for Saturday and Sunday . However chart is showing blank space for these days i.e. total 29 days interval i do not want blank spaces but only 20 columns. Not getting how …

Member Avatar for PM312
0
53
Member Avatar for nalb4242

Hello , I have question regarding visual studio , I have a console application that uses some data from Linux server , how can I run my application remotely from my windows on Linux without having to add the application on the Linux server .. for the sake of debugging …

Member Avatar for michealaso
0
70
Member Avatar for fx.eko

hi.. I have a problem when compiling the program created in VB6, an error message suddenly appears visual basic has stopped working the condition of the laptop that I use with 4GB memory specifications does this correlate directly while executing the process compile, while if I compile the program with …

Member Avatar for pyeri
0
196
Member Avatar for Bhopat

I am doing small vbproject that must auto generate id using the current year/month/autonumber in vb.net-(VISUAL STUDIO 2010) with MS SQL database. When the form load the autonumber should be displayed in text. And when it save, it should be saved in the database MSSQL. The id number should be …

Member Avatar for pritaeas
0
38
Member Avatar for pritaeas

Anyone here that wants to share if they use AI Code Assistants professionally, which one and why? I'm looking for experiences with backend .NET development in Visual Studio to be specific.

Member Avatar for antwanlee
1
144
Member Avatar for Julius_10
Member Avatar for rproffitt
0
99
Member Avatar for arcon

I think I can record but I can't read with the option button checkbox I don't know if I do the recording procedure correctly

Member Avatar for SCBWV
0
93
Member Avatar for cambalinho

these is the VB6 function for RayCasting: Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As Double Dim VertDist As Double …

1
44
Member Avatar for Mike Askew

There has been a noticeable increase in people asking where to start C# recently. So I have been across a couple of forums and pulled together a list of some useful links and resources. # Web Tutorials # [Home and Learn Tutorial](http://www.homeandlearn.co.uk/csharp/csharp.html) [CodeProject Tutorial P1](http://www.codeproject.com/Articles/219869/Object-Oriented-Programming-in-Csharp-NET) [CodeProject Tutorial P2](http://www.codeproject.com/Articles/222295/Object-Oriented-Programming-in-Csharp-NET-Part-2) [CodeProject Tutorial …

Member Avatar for Shahzad111
17
3K
Member Avatar for cambalinho

how can i convert cursor files to image? i need see the cur\ani on picturebox?(just for learning) Private Sub btnChooseImage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChooseImage.Click If (ofdChooseFile.ShowDialog = Windows.Forms.DialogResult.OK) Then If (ofdChooseFile.FilterIndex = 6) Then Dim cur As New Cursor(ofdChooseFile.FileName) PicShowImage.Image = cur 'error yes Else …

Member Avatar for cambalinho
1
67
Member Avatar for cambalinho
Member Avatar for Johannes C.

**ChatGPT has had lazy days before, but this week’s performance marks an unprecedented low. Here’s why many ChatGPT Pro users are canceling their subscriptions – and even more might follow.** ![lobotomized-chatgpt.jpg](https://static.daniweb.com/attachments/4/7421f2d25c68fdee20e906d1ae1bfec9.jpg) Yes, complaints about ChatGPT being lazy have been around for as long as the LLM itself. I have written …

2
210
Member Avatar for cambalinho

heres my RayCasting function: Private Sub DrawRays2() Dim AY As Double Dim AX As Double Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As …

Member Avatar for cambalinho
1
81
Member Avatar for SCBWV

In case you're wondering, VB6 programs run on Windows 11. Programs with a manifest have the appropriate Windows 11 appearance. The IDE works as well, although it seems to aggravate the known Windows 11 Taskbar flickering issue, but it settles down quickly. The only issue I have found so far …

Member Avatar for wolfnero
1
2K
Member Avatar for cambalinho

i'm using CreateDIBSection(): Public Function NewImage(ByVal ImageWidth As Long, ByVal ImageHeight As Long, Optional color As ColorConstants = vbBlack) As Long If (Width > 0 Or Height > 0 Or hBitmap > 0 Or PointerPixelData > 0) Then DeleteImage Width = ImageWidth Height = ImageHeight 'Criar HDC MemoryHDC = CreateCompatibleDC(0) …

Member Avatar for rproffitt
0
36
Member Avatar for cambalinho

how send parameters on CreateThread()? on a class: Option Explicit Private Declare Function CreateThread Lib "kernel32" (lpThreadAttributes As Any, ByVal dwStackSize As Long, ByVal lpStartAddress As Long, lpParameter As Any, ByVal dwCreationFlags As Long, lpThreadID As Long) As Long Private Declare Function TerminateThread Lib "kernel32" (ByVal hThread As Long, ByVal …

Member Avatar for rproffitt
0
87
Member Avatar for cambalinho

i have tried several ways, but i always get an overflow error :( how can i combine the ARGB color elements? Public Function ARGB(ByVal alpha As Byte, ByVal red As Byte, ByVal green As Byte, ByVal blue As Byte) As Long Dim color As Variant color = CDec(alpha) * 256 …

Member Avatar for cambalinho
0
133
Member Avatar for Johannes C.

**Find out how to use Dall-E 3 to create personalized artwork and breathtaking visuals.** AI image generators are getting better by the day and can be used to create a spectrum of possibilities, from stunning illustrations to hyper-realistic photos. This guide is a toolkit for using Dall-E 3 with ChatGPT, …

4
792
Member Avatar for cambalinho

see these 'for' loop: Public Function SetTransparentColor(color As Long) Dim X As Integer Dim Y As Integer Dim c As Long Dim h As Long Dim w As Long Dim temp As BGRAQUAD ' substitua BGRColor pelo tipo de dado correto usado em bDibBGRA h = Height - 1 w …

Member Avatar for Reverend Jim
0
111
Member Avatar for Syed Zubair

Dear Team, I am underprocess of a working for Tailor software where i need your kind and appreciation advise. I have fields of cloth like shirt and trouser of a customer, when i enter the records into database it is working well if single shirt or single trouser. **I want …

Member Avatar for rproffitt
0
56
Member Avatar for Syed Zubair

Dear All, I have a project where I have to transfer records from one datagrid control to another datagrid control (like list.additem formation) I have two datagrids in my project and both are connected with ADODC. First datagird showing record at run time, when select a row and click to …

Member Avatar for rproffitt
0
41
Member Avatar for cambalinho

using the Circle method and knowing the start angle(playerangle-30) and end angle (playerangle+30), in degrees, how can i draw the arc?

Member Avatar for cambalinho
0
150
Member Avatar for shane1961

My textbox datatype is DateTime. Using the click event of a button, this code is placed following MyTableBindingSourceAddNew() Dim CurrentDateTime As DateTime = DateTime.Now.ToString("dd.MM.yy hh:mm:ss") Me.SaleDateTextBox.Text = CurrentDateTime I then update table with TableAdapter. On my form I have a dropdown combobox in a toolbar, display member being "SaleDate" This …

Member Avatar for rproffitt
0
77
Member Avatar for Joaquim_5

how can i use CopyMemory() on VB6? i have these funcion: Public Sub Clear(BGRColor As Long) Dim i As Long For i = 0 To (Width * Height) - 1 CopyMemory ByVal PixelData(0) + (i * 4), vbGreen, 4 Next i End Sub how can avoid the 'for' loop? i …

Member Avatar for Gulshan_6
1
376
Member Avatar for cambalinho

heres a sample of using pointers on VB6: Option Explicit Private Const BI_RGB = 0 Private Const CBM_INIT = &H4 Private Const DIB_RGB_COLORS = 0 Private Const USE_BITMAP_ALPHA = &H1000000 Private Type BITMAPINFOHEADER biSize As Long biWidth As Long biHeight As Long biPlanes As Integer biBitCount As Integer biCompression As …

0
126
Member Avatar for lenalauren22

Hi all, I am new to coding and I've been receiving the error message for Unexpected Token '<'. The problem seems to be located in the very first line in my <!DOCTYPE html>. I am not sure what I am doing incorrectly. I've checked settings, rewritten the code, etc. Help …

Member Avatar for AndreRet
0
160
Member Avatar for mankind33

Hi there, I am a beginner and need your kind support to build an application in VB6. I want to know how to attach a VOLUME CONTROL to a MMcontrol of VB6 in the form. Please reply to [email removed] Thanks and atb.

Member Avatar for frank_49
-1
447
Member Avatar for Reverend Jim

I came across this item while programming something that should have been very simple. VLC Media Player will save the last viewed position in a media file (assuming you have the resume option enabled). It maintains two lists, file names, and offset times. The file names are encoded such that …

Member Avatar for rproffitt
0
50
Member Avatar for Joaquim_5

how can i read a file to StdPicture? and draw it on memory HDC? Public Sub LoadImage(strPath As String) Dim myPic As New StdPicture Set myPic = LoadPicture(strPath) NewImage myPic.Width, myPic.Height BitBlt MemoryHDC, 0, 0, Width, Height, myPic.Handle, 0, 0, SRCCOPY 'i get only a black background color End Sub

Member Avatar for rproffitt
1
122
Member Avatar for Pradeep_24

Hello guys i want to convert this string to boolean and i'm passing this string in if condition my Str = "row(0).ToString.Contains(""ABC"")" it should return me boolean result as the condition follows I'm Making use of this in Uipath

Member Avatar for ashishhhroe
0
385
Member Avatar for Joaquim_5

i use the RtlFillMemory(): Call RtlFillMemory(ByVal DataPtr, DIBInf.bmiHeader.biSizeImage, &H80) the '&H80' is the mid-grey color.... what are the others colors code?

Member Avatar for Joaquim_5
0
348
Member Avatar for Joaquim_5

with CreateDIBSection() we create an array of DIB's pixels .. but it's a copy and not a pointer :( when i change 1 pixel or draw a rectangle, i must re-create the DIB's and then draw the result. Private bmpPtr() As Long ReDim bmpPtr(ImageWidth * ImageHeight - 1) hBitmap = …

1
43
Member Avatar for Joaquim_5

on VB6 i have these code for create a memory DC: Public Sub CreateMemoryBitmap(ByVal Width As Long, ByVal _ Height As Long) If (ImageWidth > 0 Or ImageHeight > 0) Then DeleteMemoryBitmap ImageWidth = Width ImageHeight = Height ' Create the device context. hdc = CreateCompatibleDC(ByVal 0&) If (hdc = …

Member Avatar for SCBWV
0
270
Member Avatar for Joaquim_5

i can create a DDA algoritm.. but pixel a pixel. so what is the best speed for it? IncrementPixel = 2 For RayAngle = StartAngle To EndAngle Step IncrementAngle Distance = 0 Wall = 0 RayActualX = RayX RayActualY = RayY IncrementStepSin = Sin(RayAngle) * IncrementPixel IncrementStepCos = Cos(RayAngle) * …

Member Avatar for rproffitt
0
115
Member Avatar for arcon

when editing it does it well on the screen but it doesn't save the data correctly example Option Explicit Private Type molde_agenda id As String nombre As String * 40 imagen As String * 250 End Type Dim Datos As molde_agenda Dim DatosTemp As molde_agenda Dim FileFree As Integer Dim …

Member Avatar for AndreRet
0
140
Member Avatar for Joaquim_5

i did these code for create RayCasting: Option Explicit Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long) Private Const PI As Double = 3.14159265358979 Dim LevelMap(12) As Variant Dim CamWidth As Long Dim CamHeight As Long Dim CamHalfHeight As Long Dim RayCastingPrecision As Long Dim PlayerX As Double …

Member Avatar for AndreRet
1
646

The End.